Forum Discussion
Al_Carandang_11 Nimbostratus
Nimbostratus
Jul 22, 2009HTTP::respond and HTTP/1.0
The wiki entry for HTTP::responds states    
     The response generated is always an HTTP/1.0 response. I was wondering why there is no option to return an HTTP/1.1 response or if there is, how would...
praveen_73358 Nimbostratus
Nimbostratus
Feb 10, 2011Dear All, 
We have a F5 with version IP 10.0.1 Build 378.0 Hotfix HF3.
I need HTTP/1.1 response from the F5 with 502 code for a HTTPS VIP.
We have tried the below iRule using SSL::respond:
when LB_FAILED {
SSL::respond "HTTP/1.1 502 Bad Gateway\r\nServer: BigIP\r\nConnection: close\r\nContent-Length: 0\r\n\r\n"
}
However the desired output was not obtained.As per the previous updates above I see that this should work in version 10.
Can anyone update if there is any issue with the iRule we tested.
Thanks,
Praveen
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