Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

HEAD requests receive a response which includes an entity body in the html rewriting path #1375

@Zewy

Description

@Zewy

When I run curl -sv1IH 'accept-encoding: gzip, deflate, lzma, sdch, br' http://127.0.0.1/

* About to connect() to 127.0.0.1 port 80 (#0)
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> HEAD / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 127.0.0.1
> Accept: */*
> accept-encoding: gzip, deflate, lzma, sdch, br
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: nginx/1.11.9
Server: nginx/1.11.9
< Content-Type: text/html
Content-Type: text/html
< Connection: keep-alive
Connection: keep-alive
< Vary: Accept-Encoding
Vary: Accept-Encoding
< Date: Fri, 03 Feb 2017 13:05:36 GMT
Date: Fri, 03 Feb 2017 13:05:36 GMT
< X-Page-Speed: 1.11.33.4-0
X-Page-Speed: 1.11.33.4-0
< Cache-Control: max-age=0, no-cache
Cache-Control: max-age=0, no-cache
< Content-Encoding: gzip
Content-Encoding: gzip

<
* Excess found in a non pipelined read: excess = 4090 url = / (zero-length body)
* Connection #0 to host 127.0.0.1 left intact

If I turn off pagespeed I don't get any Excess found in a non pipelined read: excess = 4090 url = / (zero-length body) I got the same problem with 1.12.34.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions