No project description provided
Project description
Introduction
pyramid_exclusive_request_methods enables one to add a view config whose view handles all the HTTP request methods and responds with 405 Method Not Allowed for the request methods not explicitly specified in the configuration.
Synopsis:
from pyramid_exclusive_request_methods import Exclusively @view_config(route_name='foo', request_method=['GET']) def foo(context, request): pass @view_config(route_name='bar', request_method=Exclusively(['GET'])) def bar(context, request): pass c = Configurator(...) c.includeme('pyramid_exclusive_request_methods')
Contributors
Moriyoshi Koizumi <mozo@mozo.jp>
Changelog
0.0.0
Initial upload to pypi.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Close
Hashes for pyramid_exclusive_request_methods-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 115cd8a44f99c8cda9354177b97d57c50756984866a8725ca90860a73d3d628a |
|
MD5 | fe13ef14e47bcf9cf2edf0b7911ca0e9 |
|
BLAKE2b-256 | 943b8b5bb36dc493f270e52b1e940f7b0e003e8787c9e280f796863c2d26db05 |
Close
Hashes for pyramid_exclusive_request_methods-0.0.0.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a021bc87dbe5b13e4f312bc857ef11b6f151c9e58153386a84c6ee8a2d86698 |
|
MD5 | e760972bc5d1430b934201d5b285f7ab |
|
BLAKE2b-256 | 0bfe40ef132b2b4a8e9227faa8a71a3432e421b648cd13577f88a62b24d47a3e |
Close
Hashes for pyramid_exclusive_request_methods-0.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86953c8a34e612283aa634f0258809448c358e2d658ebcc773f6c47045aef6c |
|
MD5 | dbe1d0b29b980b799f96921236c588e7 |
|
BLAKE2b-256 | 627aca5cf9a55262559f8d69d7802d39292ca9d69aa8bac5bd6bb1b42a04c163 |