From 84fa09c22896c1218ef5a1a2a0c32453702c91f8 Mon Sep 17 00:00:00 2001 From: hhm Date: Mon, 18 Aug 2014 03:06:43 -0400 Subject: [PATCH] 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. --- net_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_io.c b/net_io.c index 48325d0..7e15343 100644 --- a/net_io.c +++ b/net_io.c @@ -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"