flask.request._headers - python examples

Here are the examples of the python api flask.request._headers taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

0 View Complete Implementation : handler.py
Copyright MIT License
Author : daeken
def header(key, value):
	if not hasattr(request, '_headers'):
		request._headers = {}

	request._headers[key] = value