Search squid archive

Re: File Upload with curl - erroe 417 Expectation Failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31.10.2012 12:05, Markus Moeller wrote:
Hi,

 I try to upload a file with curl which works fine without squid. But
when I try the upload with squid I get an error 417 Expectation
Failed. I use squid 3.1.16.

What does that mean ?

As mentioned in the error page text it means curl is using the HTTP feature "Expect:" which requires minimum HTTP/1.1 for the transport version, but Squid-3.1 uses HTTP/1.0 transport version.


POST http://www.csm-testcenter.org/test HTTP/1.1
Expect: 100-continue


< HTTP/1.0 417 Expectation Failed
< Server: squid/3.1.16
...

<p>Some possible problems are:</p>
<ul>
...
<li><p>HTTP/1.1 <q>Expect:</q> feature is being asked from an HTTP/1.0 software.</p></li>



Please upgrade to Squid-3.2 which uses HTTP/1.1 transport version.

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux