I ask if Squid previous versions ignored Expect header forwarding request to server. But now why Squid code (2.7 version) detects this header and it handles it as error ? Why has this Squid behaviour been modified ? -----Messaggio originale----- Da: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] Inviato: Friday, February 19, 2010 12:14 PM A: squid-users@xxxxxxxxxxxxxxx Oggetto: Re: HTTP/1.0 417 Expectation failed Riccardo Castellani wrote: > I'm using Squid 2.7 STABLE3 and I noted my software sends http Request = > where there is written: > > POST http://www.inps.it/... > ... > Expect: 100-Continue > > > Squid answers saying : > > > HTTP/1.0 417 Expectation failed > ... > X-Squid-Error: ERR_INVALID_REQ 0 > > > Squid uses Expect request ?! No. Squid is HTTP/1.0 Expect does not exist in that protocol. > How Can I solve it ? Write/Use software that knows how to handle Expect response errors properly. When receiving 417 it should be re-trying the POST without the expect header, or the delays Expect adds to the system. Squid other than 2.7 will not produce this error. They will just die in unexpected ways if the 100-continue your software asked for actually comes back. Amos -- Please be using Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24 Current Beta Squid 3.1.0.16