forked from open-policy-agent/opa
-
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.
download: fix unintended switch between long/regular polling on 304 H…
…TTP status (open-policy-agent#3926) Previously a 304 HTTP status code would make the downloader switch from long polling to regular polling. This is not desired, as it's in line with the HTTP spec not to have a Content-Type header for 304 responses. The absent Content-Type header had triggered the switch back to regular polling. Fixes: open-policy-agent#3923 Signed-off-by: Gasc Florian <[email protected]>
- Loading branch information
1 parent
30a8c2f
commit bbe8afd
Showing
2 changed files
with
159 additions
and
62 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
Oops, something went wrong.