-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I could not find any information about this. But my understanding is that any header included back to the client in the 304 Not Modified response gets merged with headers of the cached resource. This means that if I return tracing headers based on the new request they will get merged back with the original request's response, overriding those tracing headers there. Is there any guideline if tracing headers should be issued or not in 304 Not Modified response?
I see the options:
- If they are issued, then they override the original tracing headers, so now the cached response looks like it was made by a new request. Which might be confusing because the new request might have exited early (because it could return 304 Not Modified) so the content of the original response and tracing headers of the new response might be inconsistent.
- If tracing headers are not issued, then all information helped with tracing debugging 304 Not Modified response might be lost.
Metadata
Metadata
Assignees
Labels
No labels