Forum Discussion
Pavlos_Parisis_
Nimbostratus
Jun 09, 2010Rewrite HTTP status
Hi,
I am using the following iRule in order to convent HTTP Status 200 to 206
when HTTP_RESPONSE {
grab response of a 200
if {[HTTP::status] == 200}{
log loc...
hoolio
Cirrostratus
Jun 09, 2010Hi Pavlos,
If you're taking a 200 response from the origin server and sending default HTTP headers in a 206 response with the original payload, I can see that clients (or intermediate web proxies) would complain about this. RFC2616 describes specific response headers that must and should be set for 206 responses. I haven't done much testing with range requests/responses, but this is what I would guess.
Why is Proxy2 stripping the range header in step 5? Can that behavior be changed? If so, you could eliminate the need for the iRule.
Aaron
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