Skip to content
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

HeaderMap (CaseInsensitiveDict) __init__ missing #1231

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 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 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
Bugs
Backlog
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.