Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2001
    Messaggi
    355

    php_curl e Bad Request (Invalid Header Name)

    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?

  2. #2
    forse c'è un header che non riconoscono nella richiesta e quindi danno errore
    The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2001
    Messaggi
    355
    Immagino che, essendo una libreria di php, sia corretta... ma non è detto...

    Quale è il modo più veloce per vedere la richiesta?

  4. #4
    Utente di HTML.it
    Registrato dal
    May 2001
    Messaggi
    355
    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.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.