Forum Discussion
xiangyang_zhang
Nimbostratus
Mar 13, 2006Add "http://" in HTTP response
Hello, all
In some HTTP requests, protocol identifier 'http://' is not added. We would like to add "http://" in URL if it doesn't exist. I wrote two iRules for this purpose, neither of them ...
xiangyang_zhang
Nimbostratus
Mar 13, 2006Joe, thanks for your thoroughly instruction.
Sorry for not telling all of info. Actually we are using WAP2 protocol, the http:// can be see in the header. Here is one example. What do you think then ?
GET http://192.168.200.10/test/lan/Browsing/1-Context_browsing/page1.html HTTP/1.1\r\n
Cache-Control: no-cache\r\n
Pragma: no-cache\r\n
Host: 192.168.200.10\r\n
Accept: text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-
Accept-Charset: iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6\r\n
Accept-Language: en\r\n
User-Agent: Nokia6680/1.0 (3.04.35) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1\r\n
Via: 1.1\r\n
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