From fb7274e5e2ac93b2cd290f199a8bf79ea969c638 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 2 May 2013 15:40:30 +0000
Subject: [PATCH] Explicitly accept the */* media type (but prefer text/*).
 This fixes the GeoIP motherfuckedness.

---
 exec/load/http.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/exec/load/http.js b/exec/load/http.js
index 76689a1e5e..198f6042a0 100644
--- a/exec/load/http.js
+++ b/exec/load/http.js
@@ -32,7 +32,8 @@ function HTTPRequest(username,password)
 			this.request_headers.push(
 				"Via: "+client.protocol.toString().toLowerCase()+"/1.0 "+system.name);
 		// Request Headers
-		this.request_headers.push("Accept: text/*");
+		//this.request_headers.push("Accept: text/html,application/xhtml+xml,application/xml,text/*,*/*;q=0.9,*/*;q=0.8;q=0.7;q=0.6");
+		this.request_headers.push("Accept: text/*,*/*;q=0.9");
 		this.request_headers.push(
 			"Accept-Charset: ISO-8859-13,Latin-9,ISO-8859-15,ISO-8859-1,UTF-8;q=0.5,*;q=0.1");
 		this.request_headers.push("Accept-Encoding: ");
-- 
GitLab