Search squid archive

Re: 417 Expectation Failed

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

 



On 27.03.2012 14:47, chaos wrote:
Hello!
Os Centos 5.8
I have problem with new  squid-3.1.19-1.el5.
I use curl for my website;
I use command:
curl -D header.txt -x MYIP:PORT -U "login:password" -d "POSTREQUEST"
http://mysite/scrip.php
But when i updated squid i got error in header.txt:
HTTP/1.0 417 Expectation Failed
Server: squid/3.1.19
Mime-Version: 1.0
Date: Tue, 27 Mar 2012 01:28:19 GMT
Content-Type: text/html
Content-Length: 4220
X-Squid-Error: ERR_INVALID_REQ 0
Vary: Accept-Language
Content-Language: en
X-Cache: MISS from server.domain.com
X-Cache-Lookup: NONE from server.domain.com:63778
Connection: close

I get this error when POSTREQUEST is BIG(have big length) ONLY!!!
I have not this problem with old version of squid.

P.S. Sorry for my english

Squid-3.1 "understands" HTTP/1.1, even if it cannot supply all the features. curl is sending an HTTP/1.1-only Expect: header whose requirements Squid-3.1 cannot supply.

This may help you.
 http://chrismckee.co.uk/curl-http-417-expectation-failed/


Amos


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

  Powered by Linux