https://bz.apache.org/bugzilla/show_bug.cgi?id=64934

            Bug ID: 64934
           Summary: Cache control header missing for HEAD request but
                    works for GET
           Product: Apache httpd-2
           Version: 2.4.46
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_headers
          Assignee: bugs@httpd.apache.org
          Reporter: rak...@gmail.com
  Target Milestone: ---

Cache control header missing for HEAD request but works for GET.


curl -I https://localhost/support.html  -k
HTTP/1.1 200 OK
Date: Thu, 19 Nov 2020 16:35:48 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Type: text/html;charset=utf-8
Content-Language: en

Using GET 

curl -i http://localhost/support.html
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
Last-Modified: Thu, 19 Nov 2020 18:57:55 GMT
Accept-Ranges: bytes
Content-Length: 206001
Expires: Fri, 20 Nov 2020 18:58:00 GMT
Vary: Accept-Encoding
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: public, max-age=86400
Content-Type: text/html
Content-Language: en

we do have a ADOBE aem dispatcher module in between , but this behavior was
completely  different on Apache2.2 were header appears on both HEAD and GET

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to