Vivek Goel
Vivek Goel

Reputation: 24160

From http response header Identifying does browser supports gzip or not

Is it possible to identify "Does browser/client support gzip or not " ? using http header or request ?

Upvotes: 0

Views: 194

Answers (2)

Julian Reschke
Julian Reschke

Reputation: 42075

"If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content coding." (HTTPbis Part3)

Upvotes: 1

Rolando Cruz
Rolando Cruz

Reputation: 2784

Browsers send this header if they accept gzip:

Accept-Encoding: gzip, deflate

Upvotes: 0

Related Questions