Code Sample |
// Enable http compression: comment this out in case of problems with 1.1 // NOTE: support for "compress" has been disabled per bug 196406. pref("network.http.accept-encoding" ,"gzip,deflate"); pref("network.http.pipelining" , false); pref("network.http.proxy.pipelining", false); // Max number of requests in the pipeline pref("network.http.pipelining.maxrequests" , 4); |