[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 Christopher Schultz changed: What|Removed |Added Resolution|CLOSED |INVALID --- Comment #7 from Christopher Schultz --- Not a bug in Tomcat. Marking as such. -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 dzab...@rampecdn.com changed: What|Removed |Added Resolution|--- |CLOSED Status|NEW |RESOLVED --- Comment #6 from dzab...@rampecdn.com --- Found the issue. com.github.ziplet.filter.compression.CompressingFilter causes the creation of invalid ETags. Don't use it. -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 --- Comment #5 from dzab...@rampecdn.com --- So I guess the bug is bad ETag generation: curl -v -s -H 'Accept-Encoding: gzip' http://localhost:8080/example/example.js 2>&1 > /dev/null * Trying ::1... * TCP_NODELAY set * Connected to localhost (::1) port 8080 (#0) > GET /vdms/rr.js HTTP/1.1 > Host: localhost:8080 > User-Agent: curl/7.64.1 > Accept: */* > Accept-Encoding: gzip > < HTTP/1.1 200 < Vary: Accept-Encoding < X-Altimeter-Host: my-computer.local < X-Altimeter-Generated: Thu, 12 Aug 2021 19:57:48 GMT < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Accept-Ranges: bytes < ETag: W/"73631-1628790416370"-gzip < Last-Modified: Thu, 12 Aug 2021 17:46:56 GMT < Cache-Control: max-age=0 < Expires: Thu, 12 Aug 2021 19:57:48 GMT < Content-Encoding: gzip < Content-Type: application/javascript < Transfer-Encoding: chunked < Date: Thu, 12 Aug 2021 19:57:47 GMT < -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 --- Comment #4 from Michael Osipov --- (In reply to dzabner from comment #2) > Any E-Tag I use seems to cause the issue. > > i.e. 'If-None-Match: W/"8176-1626385749844"-gzip' This ETag 8s invalid too -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 --- Comment #3 from dzab...@rampecdn.com --- (In reply to dzabner from comment #2) > Any E-Tag I use seems to cause the issue. > > i.e. 'If-None-Match: W/"8176-1626385749844"-gzip' Interestingly, removing the -gzip fixes the issue. So maybe this is somehow tied to my expires filter and the creation of the ETag? -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 --- Comment #2 from dzab...@rampecdn.com --- Any E-Tag I use seems to cause the issue. i.e. 'If-None-Match: W/"8176-1626385749844"-gzip' -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 --- Comment #1 from Michael Osipov --- Where is the bug? The ETag us invalid, hence the 400. -- 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
[Bug 65498] If-None-Match header causes 400 with static file
https://bz.apache.org/bugzilla/show_bug.cgi?id=65498 dzab...@rampecdn.com changed: What|Removed |Added CC||dzab...@rampecdn.com -- 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