Created
December 15, 2015 16:36
-
-
Save klen/feb8721a14e9c46af1c3 to your computer and use it in GitHub Desktop.
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
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