Forum Discussion
New monitor looking for a character string is not working
To clarify why to use this particular syntax:
RFC 2616 (Hypertext Transfer Protocol -- HTTP/1.1) states:
" A client MUST include a Host header field in all HTTP/1.1 request messages . If the requested URI does not include an Internet host name for the service being requested, then the Host header field MUST be given with an empty value.
...
All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field."
I have seen that omitting the "Host" header will usually result service "down" and so prefer using the format cjunior proposes. Note the double crlf sequence in the end and also the Connection: Close -header. The exact syntax is dependent upon sw version used. See more on this at: SOL2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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