curiouswebster
asked on
Please explain purpose of GZIP
I support a C# .NET website which prepares the request thusly:
public GzipWebRequest(WebRequest wrappedRequest, bool compressRequest, bool acceptCompressedResponse)
{
this.wr = wrappedRequest;
this.gzipRequest = compressRequest;
if(this.gzipRequest)
wr.Headers["Content-Encodi ng"] = GZIP;
if(acceptCompressedRespons e)
wr.Headers["Accept-Encodin g"] = GZIP;
}
Please explain what GZIP is doing.
Thanks
public GzipWebRequest(WebRequest wrappedRequest, bool compressRequest, bool acceptCompressedResponse)
{
this.wr = wrappedRequest;
this.gzipRequest = compressRequest;
if(this.gzipRequest)
wr.Headers["Content-Encodi
if(acceptCompressedRespons
wr.Headers["Accept-Encodin
}
Please explain what GZIP is doing.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER