Forum Discussion
Stephan_Jaeger_
Nimbostratus
Apr 03, 2006Unchunk HTTP Request Body
Hi,
im searching for a way to unchunk a http request body before sending it to the webserver which is unable to handle chunked reuqests. As both clients and servers are Appliances there is n...
Stephan_Jaeger_
Nimbostratus
Apr 03, 2006Posted By hoolio on 4/03/2006 4:07 AM
when HTTP_REQUEST {
don't allow data to be chunked
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
}
Thanks for your reply. I already saw that post but i'm not sure if that will work.
As i understand it this will change the request header to HTTP/1.0 so the server will send an HTTP/1.0 response. But what if this first request is an HTTP/1.1 POST with a chunked body? Just changing the protocol header won't fix anything, will it?
I think the code you posted is from here:
http://devcentral.f5.com/Default.aspx?tabid=29&articleType=ArticleView&articleId=25
The description there says We also modify the request HTTP version to ensure that the response is not chunked.
But my problem is that the request body needs to be unchunked, not (only) the response.
Sadly i don't have the client appliance here right now so i have to wait until i can test this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
