Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #7432

Closed
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#7432