Forum Discussion
Brian_Gibson_30
Nimbostratus
May 15, 2014Receive string not matching on request
I am fairly new to doing HTTP requests. My company doesn't do a lot of http specific stuff on the LBs.
Anyway I'm trying to do a basic http monitor and I can't seem to get the receive to match. H...
Cory_50405
Noctilucent
May 15, 2014Change your monitor Blah send string to this (replace host.domain.com with the actual host name):
GET /BCCommunicationDirector/Blah.ashx HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\n
You need to specify a host header in your send string to comply with HTTP/1.1.
Cory_50405
Noctilucent
May 15, 2014That should also work. In your cURL statement above, you can see the HTTP/1.1 request specifying the IP address as the host, and the server responded with a 200 OK. Looks like it isn't doing any host name checking.
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