Forum Discussion
marc_schaer_577
Nimbostratus
Sep 28, 2009Content-Length missing in HTTP request
Hi all,
i have an issue where i have not yet been able to find a working solution to. Maybe someone came across the same and knows a way on how to solve it with an irule.
pro...
hoolio
Cirrostratus
Sep 28, 2009Hi Marc,
I assume the client is trying to terminate the HTTP request by closing the TCP connection as it doesn't include a Content-Length header and doesn't set a Transfer-Encoding method of Chunked. An F5 developer should probably be able to provide a more informed suggestion, but in the meantime, you might be able to collect the TCP payload, count the number of bytes in the HTTP headers, calculate the HTTP payload size and then insert an HTTP Content-Length header. I can't see this being very efficient though.
Is there any chance of changing the client application to explicitly set a content-length header?
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects