Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a flag `allow_add` to the ``blaze.server.Server`` constructor to determine whether or not the `/add` route is available -- it defaults to `False`. Currently, if this is not set, it doesn't define the URL mapping at all, so any requests for it will result in a 404 Not Found error.
- Loading branch information
Rami Chowdhury
committed
Apr 19, 2016
1 parent
030160b
commit 1b462d4
Showing
2 changed files
with
98 additions
and
51 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