Welcome! Log In Create A New Profile

Advanced

HTTP 0.9 and automatic connection closing with Nginx

Posted by rjha94 
HTTP 0.9 and automatic connection closing with Nginx
August 28, 2014 05:16PM
Hi
I am using a GSM modem as client and want to treat the requests as HTTP 0.9. This is a resource constrained device and I just want to push some data.= online.

Earlier I was working with Glassfish V4 and if you just send a GET without headers, e,g,
GET /api/endpoint?from=gl868&data=....
Then the request is treated as HTTP 0.9 and I get a 200 OK response.

However when I try the same thing with Nginx, without the HTTP version, I get a 404. Then I also have to include a Host header to get 200 OK. is there a way to configure Nginx to treat such requests as HTTP 0.9? what are my other options for closing the connection automatically after each request without keep-alives?

Thanks

/rajeev
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready