Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7432

Closed
Open
Created Nov 10, 2012 by Arturo Filasto@art

Add support for sending un canonicalized HTTP headers via twisted.web.client.Agent

twisted.web.client.Agent automatically converts request headers to canonical form (uSeR-AgEnt becomes User-Agent), this means that we are unable to use it for our header field manipulation test.

I would suggest going for the path of subclassing http.HTTPClient and drawing inspiration from HTTPPageGetter, in particular I would look at the methods connectionMade and of HTTPPageGetter.

This should then be a flag that can be passed to the HTTP test template that allows us to perform HTTP requests without this mangling going on.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking