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

            Bug ID: 65498
           Summary: If-None-Match header causes 400 with static file
           Product: Tomcat 9
           Version: 9.0.46
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: dzab...@rampecdn.com
  Target Milestone: -----

Any request for static files I, or Chrome, make that includes the
'If-None-Match' header causes Tomcat to return a 400.

curl -v -s -H 'If-None-Match: W' http://localhost:8080/example/example.css 
2>&1 > /dev/null

*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8080 (#0)
> GET /vdms/rr.css HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.64.1
> Accept: */*
> If-None-Match: W
> 
< HTTP/1.1 400 
< Vary: Accept-Encoding
< X-Altimeter-Host: my-computer.local
< X-Altimeter-Generated: Thu, 12 Aug 2021 18:58:02 GMT
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Content-Type: text/html;charset=utf-8
< Content-Language: en
< Content-Length: 762
< Date: Thu, 12 Aug 2021 18:58:02 GMT
< Connection: close

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

Reply via email to