I've been using Pandora to make a simple HTTP get request shown below in order to monitor my web servers uptime. SEND : GET / HTTP/1.1^M^M RECEIVE : HTTP/1.1 200 OK Currently the User-Agent is empty and I need to change this because my web server is dropping all blank user agents for security/spam purposes. Does anyone know how to craft a request with a user-agent? Can i send something similar to: SEND : GET / HTTP/1.0 User-Agent: myRequester^M^M
TCP SEND request (User Agent)
srichards · 5 nov 2018, 16:45 · 2 mensajes · 68 visitas
- Inicio del debate
I've been using Pandora to make a simple HTTP get request shown below in order to monitor my web servers uptime. SEND : GET / HTTP/1.1^M^M RECEIVE : HTTP/1.1 200 OK Currently the User-Agent is empty and I need to change this because my web server is dropping all blank user agents for security/spam purposes. Does anyone know how to craft a request with a user-agent? Can i send something similar to: SEND : GET / HTTP/1.0 User-Agent: myRequester^M^M
Good morning srichards, I have read something about how to fill in the User-Agent information in the link below, hope this helps you. https://stackoverflow.com/questions/15069533/http-request-header-useragent-variable Alberto
Entra en tu cuenta para publicar.
