Closed KillerBoogie closed 2 years ago
I miss in this great digram how to deal with wrong formatted headers, e.g. Etag is in incorrect format or Since-Modified is not a correct date.
In your case, you want to check if the request headers are valid. If invalid, return false on is_request_block_ok and the response will be 400 Bad Request.
is_request_block_ok
400 Bad Request
Hope it helps.
I miss in this great digram how to deal with wrong formatted headers, e.g. Etag is in incorrect format or Since-Modified is not a correct date.