Python Paste


signature


Attributes

a counter

count(0)

Functions

f sign_request(environ, secret) ...

Add a X-WSGIProxy-Signature header to a request environment, based on the environment and an arbitrary number.

f check_request(environ, secret) ...

Checks the environments' signature. If the signature is not correct, raises BadSignatureError. Removes the signature from the request.

Classes

C BadSignature(...) ...

Exception raised by check_request

This class contains 2 members.

See the source for more information.