Why does squid reject this multipart-form-data POST from curl?

Posted by keturn on Server Fault See other posts from Server Fault or by keturn
Published on 2010-01-29T19:54:46Z Indexed on 2010/04/15 3:34 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

This fails:

$ curl --trace multipart-fail.log -F "source={}" http://127.0.0.1:3003/jslint

With a squid status 417 error, ERR_INVALID_REQ.

I've never had this in practice through a web browser, so it's probably curl usage instead of squid, but if I tell curl not to use the squid proxy, the web application on the other end accepts it just fine.

(If there's a more appropriate StackExchange site for this, please let me know.)

© Server Fault or respective owner

Related posts about curl

Related posts about squid