From 9d8e2396acbb58423e1a24953e21069c2240d49d Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Tue, 29 Jan 2008 20:27:11 -0800 Subject: [PATCH] Bug 398066 - "Image requests should include image/* in Accept header" [p=lholst@students.cs.uu.nl (Laurens Holst) r=biesi sr=stuart a1.9=damons] --- modules/libpr0n/src/imgLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libpr0n/src/imgLoader.cpp b/modules/libpr0n/src/imgLoader.cpp index 3029d771e6c9..dc35239be756 100644 --- a/modules/libpr0n/src/imgLoader.cpp +++ b/modules/libpr0n/src/imgLoader.cpp @@ -215,7 +215,7 @@ static nsresult NewImageChannel(nsIChannel **aResult, newHttpChannel = do_QueryInterface(*aResult); if (newHttpChannel) { newHttpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"), - NS_LITERAL_CSTRING("image/png,*/*;q=0.5"), + NS_LITERAL_CSTRING("image/png,image/*;q=0.8,*/*;q=0.5"), PR_FALSE); nsCOMPtr httpChannelInternal = do_QueryInterface(newHttpChannel);