Mi sto connettendo ad alcuni siti tramite la libreria php_curl, però alcuni rispondono con un "Bad Request (Invalid Header Name)".
Sembra che siano i server microsoft a dare questo problema, da cosa può dipendere?
Mi sto connettendo ad alcuni siti tramite la libreria php_curl, però alcuni rispondono con un "Bad Request (Invalid Header Name)".
Sembra che siano i server microsoft a dare questo problema, da cosa può dipendere?
forse c'è un header che non riconoscono nella richiesta e quindi danno errore
The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand
Immagino che, essendo una libreria di php, sia corretta... ma non è detto...
Quale è il modo più veloce per vedere la richiesta?
Sul sito della Microsoft ho trovato questa spiegazione:
This problem occurs when the browser sends a linear white space to the IIS 6.0 Web server, and the linear white space is between the HTTP request line and the start of the HTTP request header. For example, this problem may occur if the browser sends a space character (0x20) that is between the HTTP request line and the start of the HTTP request header. Subsequently, IIS 6.0 interprets the space character that is between the HTTP request line and the start of the HTTP request header as not valid.