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/download.go: fix switch between long polling and regular pol…
…ling download/download_test.go: testing about oneShot and download method When 304 content-type should not be send. Fix the download code for switch to regular polling and keep the previous value. Fixes: open-policy-agent#3923 Signed-off-by: Gasc Florian <florian.gasc@gmail.com>
- Loading branch information
1 parent
2b7df1c
commit afcb2a8
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.