Well, I've tried that. Problem is, some sites *force* it, such as the Discogs API.
What http headers are you sending?
I've never seen a server which forces an encoding that was not allowed by the browser.
This is the exact bit of code I'm using;
alias discogs {
sockclose discogs
set %discogs.get release/15
set %discogs.count 1
sockopen discogs www.discogs.com 80
}
on *:SOCKOPEN:discogs: {
sockwrite -n $sockname GET $+(/,%discogs.get,?f=xml&api_key=6757824fd9) HTTP/1.1
sockwrite -n $sockname Host: www.discogs.com
sockwrite -n $sockname User-Agent: Mozilla/5.0
sockwrite -n $sockname Connection: keep-alive
sockwrite -n $sockname Accept-Encoding: deflate
sockwrite -n $sockname $crlf
}
on *:SOCKREAD:discogs: {
sockread %raw
echo -s %raw
}
Okay, it doesn't literally *force* me to use gzip, but it does tell me the client doesn't accept gzip encoding, instead of the data I want to retrieve.
Anyway, if you don't mind patching mirc.exe and using my "solution", you could use gzip encoding. Which version are you using?
I'm using 6.35. Somehow I have my doubts about patching though, I'm somewhat afraid it will break things.