Mercurial > hg
view tests/test-notify.out @ 4012:d1e31d7f7d44
fix handling of multiple Content-type headers
This can happen if an error happens while sending
application/mercurial-0.1 content. The error page will
be sent resulting (for at least lighttpd) in the following
headers:
Content-type: application/mercurial-0.1
Content-type: text/html
which result in req.proto = 'application/mercurial-0.1, text/html'
fix issue344
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 29 Dec 2006 05:27:48 +0100 |
parents | 86098ec4b77a |
children | fbf0e9acfd83 |
line wrap: on
line source
notify extension - No help text available no commands defined % commit adding a % clone 1 files updated, 0 files merged, 0 files removed, 0 files unresolved % commit % pull pulling from ../a searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files Subject: b From: test@test.com X-Hg-Notification: changeset 0647d048b600 Message-Id: To: foo@bar changeset 0647d048b600 description: b diffs (6 lines): diff -r cb9a9f314b8b -r 0647d048b600 a --- a/a Thu Jan 01 00:00:00 1970 +0000 +++ b/a Thu Jan 01 00:00:01 1970 +0000 @@ -1,1 +1,2 @@ a a +a (run 'hg update' to get a working copy)