lp://staging/~jameinel/loggerhead/less_work_for_head_716217
- Get this branch:
- bzr branch lp://staging/~jameinel/loggerhead/less_work_for_head_716217
Branch merges
- Loggerhead Team: Pending requested
-
Diff: 266 lines (+129/-24)6 files modifiedNEWS (+7/-13)
loggerhead/controllers/__init__.py (+39/-3)
loggerhead/controllers/changelog_ui.py (+15/-0)
loggerhead/tests/__init__.py (+1/-4)
loggerhead/tests/test_controllers.py (+67/-0)
loggerhead/tests/test_simple.py (+0/-4)
Branch information
Recent revisions
- 427. By John A Meinel
-
Find a case that isn't handled easily, punt.
Note that the tests assert what error is raised, but we really want a better one.
Not worth fixing until we get more of old trunk/experimental merged. - 426. By John A Meinel
-
Add some comments, realize that we probably still give the wrong value for a HEAD
if a revid is requested that isn't in the path. - 425. By John A Meinel
-
Add some tests for the ChangeLogUI, and implement a method for cheesing HEAD requests.
Basically, if we can answer quickly that HEAD is ok, do so, but allow fallbacks
that do it the way we used to, rather than requiring we handle all processing
immediately. - 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://staging/loggerhead