Skip to content

HeaderMap (CaseInsensitiveDict) __init__ missing #1231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Mar 18, 2013 · 1 comment
Closed

HeaderMap (CaseInsensitiveDict) __init__ missing #1231

ghost opened this issue Mar 18, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 18, 2013

Originally reported by: space one (Bitbucket: spaceone, GitHub: spaceone)


missing __init__:

def __init__(self, *args, **kwargs):
    d = dict(*args, **kwargs)
    for key, value in iteritems(d):
        dict.__setitem__(self, str(key).title(), value)

@rozuur
Copy link

rozuur commented Oct 7, 2017

Have added above missing init accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants