From 38dc82e13e74b1724f5c6b96c3ac55a78460dc64 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 22 Feb 2011 22:26:22 +0000 Subject: [PATCH] If no Accept header field is present, then it is assumed that the client accepts all media types. --- lib/core/option.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 637fe08a3..0729c6cff 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -941,7 +941,6 @@ def __setHTTPExtraHeaders(): if header and value: conf.httpHeaders.append((header, value)) elif not conf.httpHeaders or len(conf.httpHeaders) == 1: - conf.httpHeaders.append(("Accept", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5")) conf.httpHeaders.append(("Accept-Language", "en-us,en;q=0.5")) conf.httpHeaders.append(("Accept-Charset", "ISO-8859-15,utf-8;q=0.7,*;q=0.7"))