Ticket #4230 defect new

Opened 4 years ago

Last modified 4 years ago

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

web2.patch Download (1.0 KB) - added by asvetlov 4 years ago.
patch

Change History

Changed 4 years ago by asvetlov

patch

1

Changed 4 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.

2

Changed 4 years ago by thijs

  • owner dreid deleted
  • cc thijs added
  • keywords review added

3

Changed 4 years ago by exarkun

  • keywords review removed
  • cc khorn added
  • owner set to asvetlov

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

Note: See TracTickets for help on using tickets.