Re: [squid-users] POST denied?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 17 Feb 2010 11:21:16 +1300

On Tue, 16 Feb 2010 10:45:50 -0500, Bill Stephens <grapeguy_at_gmail.com>
wrote:
> All,
>
> I'm attempting to configure squid to proxy my requests to a Web
> Service. I can access via a GET request in my browser but attempting
> to submit a request via Java that has been configured to use squid as
> my proxy:
>
> Execute:Java13CommandLauncher: Executing
> '/usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/bin/java' with arguments:
> '-Djava.endorsed.dirs=extensions/endorsed'
> '-Dhttp.proxyPort=3128'
> '-Dhttp.proxyHost=127.0.0.1'
>
> 1266334195.708 1 127.0.0.1 TCP_DENIED/411 1949 POST
>
http://cadsr-dataservice.nci.nih.gov:80/wsrf/services/cagrid/CaDSRDataService
> - NONE/- text/html
>
> Thinking that I had messed up my config, I returned to the out of the
> box squid.conf and I get the same error.
>
> Thoughts?

RFC 2616 (HTTP specification):
  411 Length Required

Your POST requests is missing the Content-Length: header with number of
bytes being posted.

It's also a bit weird to be sending :80 in the URL for http://.
Valid, but uncommon and may cause issues somewhere.

Amos
Received on Tue Feb 16 2010 - 22:21:19 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 17 2010 - 12:00:05 MST