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

Use HTTPHeaderDict in request #679

Merged
merged 4 commits into from Jul 21, 2015

Commits on May 28, 2015

  1. Configuration menu
    Copy the full SHA
    838d23a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2015

  1. Change HTTPHeaderDict superclass to MutableMapping

    Fix dict(HTTPHeaderDict(other_dict)) and deal with changes in how we
    implement the HTTPHeaderDict as a MutableMapping subclass instead of
    as a dict subclass.
    sigmavirus24 committed Jul 18, 2015
    Configuration menu
    Copy the full SHA
    64adf9f View commit details
    Browse the repository at this point in the history
  2. Update tests for new HTTPHeaderDict behaviour

    Now when we send data with the HTTPHeaderDict we will use the original
    casing, e.g., if we create an instance with
    
        {'COOkie': 'value'}
    
    Then
    
        dict(HTTPHeaderDict({'COOkie': 'value'})) == {'COOkie': 'value'}
    
    So we should expect that the returned headers preserve the capitalization
    that was provided to the HeaderDict.
    sigmavirus24 committed Jul 18, 2015
    Configuration menu
    Copy the full SHA
    8d7273d View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2015

  1. Configuration menu
    Copy the full SHA
    b49490d View commit details
    Browse the repository at this point in the history