Skip to content

Instantly share code, notes, and snippets.

@klen

klen/request.py

Created Dec 15, 2015
Embed
What would you like to do?
from aiohttp import CIMultiDict
# ... somewhere ...
request._headers = CIMultiDict(MY_CUSTOM_HEADER='VALUE HERE', MY_OTHER_CUSTOM_HEADER='VALUE HERE', **request.headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.