Skip to content

Instantly share code, notes, and snippets.

@bloodeagle40234
Created August 4, 2016 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodeagle40234/e979d74eba4d90d23bc5958ded58f8d8 to your computer and use it in GitHub Desktop.
Save bloodeagle40234/e979d74eba4d90d23bc5958ded58f8d8 to your computer and use it in GitHub Desktop.
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from swift.common.header_key_dict import HeaderKeyDict
>>> d = HeaderKeyDict()
>>> d['a'] = 'b'
>>> d['b'] = 1
>>> d
{'A': b'b', 'B': '1'}
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment