[squid-users] passing request body in GET requests

Alex Rousskov rousskov at measurement-factory.com
Fri Feb 27 16:28:43 UTC 2026


On 2026-02-27 06:45, Matus UHLAR - fantomas wrote:

> our client uses SW RTKLIB which tends to send data using GET requests, 
> containing request body (...) with no Transfer-Encoding: or 
> Content-Length: headers and using HTTP/1.0 protocol (hardcoded).

I assume that those HTTP/1.0 requests do not have a 
Connection:keep-alive header.


> On squid, the request body is dropped

Good (although some kind of "unexpected post-request data" signal [in an 
access.log record] would be nice for cases where Squid did detect that 
data presence; perhaps that signal already exists).


> Am I correct if I assume this is correct from protocol point of view
> or is there any way to pass this data through proxy?

I believe you are correct.

AFAIK, Squid currently has no code that would treat that post-request 
bytes as a previous GET body. FWIW, it would be fairly easy to hack 
something like that in if (and only if) all those requests have 
fixed-size one-size-for-all-requests "data".


HTH,

Alex.



More information about the squid-users mailing list