loggerhead sends body content on HEAD request
Bug #716201 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
High
|
John A Meinel |
Bug Description
follow on from bug 701329: it seems loggerhead sends the resource body when a HTTP HEAD request is given; this violates rfc2616.
Related branches
lp:~jameinel/loggerhead/head_middleware
- Martin Pool: Approve
-
Diff: 300 lines (+201/-4)7 files modifiedNEWS (+9/-0)
__init__.py (+7/-1)
info.py (+2/-1)
loggerhead/apps/http_head.py (+62/-0)
loggerhead/tests/__init__.py (+2/-1)
loggerhead/tests/test_http_head.py (+92/-0)
loggerhead/tests/test_simple.py (+27/-1)
lp:~jameinel/loggerhead/no_template_for_head_716217
- Gavin Panella (community): Approve
-
Diff: 112 lines (+56/-2)4 files modifiedNEWS (+8/-0)
info.py (+2/-1)
loggerhead/controllers/__init__.py (+3/-0)
loggerhead/tests/test_controllers.py (+43/-1)
To post a comment you must log in.
I decided to split of the performance aspect to bug #716217, changing this bug to only be about conforming to rfc2616.