From 59f2f06e6df002baa20f7b28f77a9f9250e1f9b4 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 28 Apr 2006 22:40:32 +0200 Subject: [PATCH] HTTP_GET_MSG: Do not resist on http 1.0 recent itunes for example sends 1.1. The obvious solution is to just accept every client that sends at least 'GET / HTTP/'. Spotted by Gerd Becker. --- http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.h b/http.h index 5708c7b0..2542cdc1 100644 --- a/http.h +++ b/http.h @@ -1,3 +1,3 @@ /** \file http.h macros used by http_send and http_recv */ #define HTTP_OK_MSG "HTTP/1.0 200 OK\r\n\r\n" -#define HTTP_GET_MSG "GET / HTTP/1.0" +#define HTTP_GET_MSG "GET / HTTP/" -- 2.39.2