-
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.
Allow for asset uploads to be suspended.
In some cases we need to be able to stop new assets from being uploaded but would like to allow assets to continue to be downloaded. This is useful for doing server maintenance. This allows a flag to be set in the config or set via a post to a special URL. When the "paused" flag is set, the server will return a 503 resource unavailable response for POSTs to the asset upload endpoint. Tests are provided for all cases.
- Loading branch information
Laurence Liss
committed
Jun 3, 2016
1 parent
5c64b7a
commit c27f669
Showing
4 changed files
with
111 additions
and
6 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
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
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
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