From: Andre Date: Fri, 28 Apr 2006 20:40:32 +0000 (+0200) Subject: HTTP_GET_MSG: Do not resist on http 1.0 X-Git-Tag: v0.2.12~25 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=59f2f06e6df002baa20f7b28f77a9f9250e1f9b4;hp=e6f4fda2495378e76e5e0e5dd0756a2ffd3cf95b 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. --- 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/"