Forum Discussion
HTTP POST Monitor
POST /hello/ HTTP/1.1\r\nContent-Type: application/xml\r\nAccept-Charset: utf-8\r\nHost: 192.168.1.150\r\nAccept: */*\r\nContent-Length: 110\r\nConnection: Keep-Alive\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n
When I use a tool such as wfetch it works fine - I receive a 200 OK, however when using a monitor on the F5 I receive a 500 server or 400 bad request error.
Also I noticed in some request captures two HTTP or Hyper Transfer Protocol headers occur at times. I'm struggling for ideas on why this is occuring on the F5. I'm running version 10.2.0.
- mhuss3y_61750NimbostratusSorry request should be:
POST /hello/ HTTP/1.1\r\nContent-Type: application/xml\r\nAccept-Charset: utf-8\r\nHost: 192.168.1.150\r\nAccept: */*\r\nConnection: Keep-Alive\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n
- Josh_AbaireNimbostratusIn my limited experience, most problems have been formatting, CR/LF. Maybe the final /r/n sequence should be removed. From SOL2167:
- HamishCirrocumulusThat's a lot of CR/LF's...
- natheCirrocumulusHey
- HamishCirrocumulusAh. I see the second post now... Joys of taking too much time between reading and replying :)
- HamishCirrocumulusI make it 98 Bytes... The content-length will actually be on the wire Bytes... So \r and ]n etc and \" will actually be ONE character... Not two...
- mhuss3y_61750NimbostratusThanks for all the replies!
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