Opened 5 years ago

Last modified 4 years ago

#4230 defect new

Correct exception text in twisted.web2.http_headers:HeaderHandler

Reported by: asvetlov Owned by: asvetlov
Priority: low Milestone:
Component: web2 Keywords:
Cc: thijs, khorn Branch:
Author: Launchpad Bug:

Description

Now exception message from HeaderHandler .generate/.parse refers to non-existent Headers methods .getHeaderRaw/.setHeaderRaw while real names are getRawHeaders/setRawHeaders. patch attached.

Attachments (1)

web2.patch (977 bytes) - added by asvetlov 5 years ago.
patch

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by asvetlov

patch

comment:1 Changed 5 years ago by khorn

Grepping through the code, it looks like this is the only occurrence of "getHeaderRaw" and "setHeaderRaw", so I think this change is fine.

comment:2 Changed 5 years ago by thijs

  • Cc thijs added
  • Keywords review added
  • Owner dreid deleted

comment:3 Changed 4 years ago by exarkun

  • Cc khorn added
  • Keywords review removed
  • Owner set to asvetlov

There's no test coverage for either of the two modified lines.

Note: See TracTickets for help on using tickets.