if http head contains this two 'If-Modified-Since:' and 'If-None-Match: in header', then request alway 400

Viewed 7

when i visit http://xxx/xxx.html , first time is ok.
But when i press F5, this url return 400.
The different between them is that the bad request 400 alway contains two header .

    If-Modified-Since: Thu, 30 Jun 2022 06:07:36 GMT
    If-None-Match: W/"3255-1656569256000"

and i try to disable this two header by nginx , it also doesn't work

    expires -1;
    if_modified_since off;
    add_header Last-Modified "";
    add_header Cache-Control no-cache;
    etag off;

my service is tomcat8 , strust2

0 Answers
Related