Commit f31ed40c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove the clients Accept-Encoding header when we add our own.

parent 602cfbea
......@@ -975,6 +975,7 @@ cnt_miss(struct sess *sp)
* client doesn't grok it. We will uncompress for
* the minority of clients which don't.
*/
http_Unset(sp->wrk->bereq, H_Accept_Encoding);
http_PrintfHeader(sp->wrk, sp->fd, sp->wrk->bereq,
"Accept-Encoding: gzip");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment