Need to understand request headers in a case-insensitive way

Bug #1720433 reported by Jeremy Freudberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mix and Match (mixmatch)
Fix Released
Undecided
Jeremy Freudberg

Bug Description

Violating RFC2616 if we don't.

Headers like MM-SERVICE-PROVIDER and MM-PROJECT-ID should actually be understood in a case-insensitive way. For example, keystoneauth1 adapter may send these headers as something like Mm-Service-Provider.

Changed in mixmatch:
assignee: nobody → Jeremy Freudberg (jfreud)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mixmatch (master)

Fix proposed to branch: master
Review: https://review.openstack.org/510238

Changed in mixmatch:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mixmatch (master)

Reviewed: https://review.openstack.org/510238
Committed: https://git.openstack.org/cgit/openstack/mixmatch/commit/?id=a1a9cad038292e5ba981f5f827b22a9e9a049c6f
Submitter: Jenkins
Branch: master

commit a1a9cad038292e5ba981f5f827b22a9e9a049c6f
Author: Jeremy Freudberg <email address hidden>
Date: Fri Oct 6 21:49:39 2017 +0000

    Request headers are case insensitive

    Per RFC2616. Within the codebase itself we represent headers as
    uppercase strings, but now they can be passed with any capitalization
    style. (Including whatever keystoneauth or requests chooses to send.)

    Change-Id: Ia4e932a91dec030b9efeb947759ceebdb7a426fc
    Closes-Bug: #1720433

Changed in mixmatch:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.