forked from cloudflare/cfssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous patch refactoring cache-control semantics attempted to add the headers to the response after a WriteHeader or Write call which prevents additional headers being written to the response unless they are specified as trailers (which they weren't). This simplifies the logic and moves the header add/set calls before any response WriteHeader/Write calls.
- Loading branch information
1 parent
e987b59
commit c7e31e2
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters