lp:~jameinel/loggerhead/head_middleware
Created by
John A Meinel
and last modified
- Get this branch:
- bzr branch lp:~jameinel/loggerhead/head_middleware
Only
John A Meinel
can upload to this branch. If you are
John A Meinel
please log in for upload directions.
Branch merges
Propose for merging
1 branch
dependent on this one.
- 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)
Related bugs
Bug #716201: loggerhead sends body content on HEAD request | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 424. By John A Meinel
-
Fix bug #716201 by suppressing body content when getting a HEAD request.
This adds some WSGI middleware that suppresses returning body content if a HEAD request
is received.Note that we don't yet pass GET down to the lower levels, so they could still
decide whether they can do less work or not. We may want to make the standard BranchWSGIApp
do less work under those circumstances. - 422. By Max Kanat-Alexander
-
loggerhead.trace was missing an import of logging.handlers, which caused
start-loggerhead to die if a log.roll config setting was set.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:loggerhead