[Olsr-dev] [PATCH v1 20/44] txtinfo: use HTTP/1.1
Ferry Huberts
(spam-protected)
Fri Nov 27 10:43:13 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/txtinfo/src/olsrd_txtinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/txtinfo/src/olsrd_txtinfo.c b/lib/txtinfo/src/olsrd_txtinfo.c
index f249c57..29d11ff 100644
--- a/lib/txtinfo/src/olsrd_txtinfo.c
+++ b/lib/txtinfo/src/olsrd_txtinfo.c
@@ -815,7 +815,7 @@ static void send_info(unsigned int send_what, int the_socket) {
/* Print minimal http header */
if (http_headers) {
- abuf_puts(&abuf, "HTTP/1.0 200 OK\r\n");
+ abuf_puts(&abuf, "HTTP/1.1 200 OK\r\n");
abuf_puts(&abuf, "Content-type: text/plain\r\n\r\n");
}
--
2.5.0
More information about the Olsr-dev
mailing list