B"H net_io.c: revert previous change and advertise HTTP 1.1

It seems server code should be compatible with HTTP 1.1; the features
unique to 1.1 mostly are upon the client to support, and some headers
used (for example Cache-Control) may need 1.1.
This commit is contained in:
hhm 2014-08-18 03:06:43 -04:00
parent 0317c48aac
commit 84fa09c228

View file

@ -787,7 +787,7 @@ int handleHTTPRequest(struct client *c, char *p) {
// Create the header and send the reply
hdrlen = snprintf(hdr, sizeof(hdr),
"HTTP/1.0 200 OK\r\n"
"HTTP/1.1 200 OK\r\n"
"Server: Dump1090\r\n"
"Content-Type: %s\r\n"
"Connection: %s\r\n"