Opened 5 years ago

Closed 5 years ago

#20596 closed Bug (fixed)

Content-Type added incorrectly to test GET and HEAD requests

Reported by: Tom Christie Owned by: nobody
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


RequestFactory incorrectly adds a CONTENT-TYPE of 'text/html' to GET and HEAD requests.

These requests don't contain a request body and shouldn't include a content-type header.

I've removed the appropriate lines and the tests run through identically to before the change.

See PR1270 -

Change History (1)

comment:1 Changed 5 years ago by Marc Tamlyn

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top