Mercurial > public > mercurial-scm > hg
diff templates/atom/map @ 5928:3340aa5a64f7
hgweb: move HTTP content types out of header templates
This removes the ability for templates to add custom HTTP headers, which can
easily be re-added if someone needs it. Thanks to asak for repeatedly reviewing
this patch and helping to iron out the quirks.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 22 Jan 2008 10:45:55 +0100 |
parents | 46c5e1ee8aaa |
children | f32af51aaee5 |
line wrap: on
line diff
--- a/templates/atom/map Tue Jan 22 10:45:52 2008 +0100 +++ b/templates/atom/map Tue Jan 22 10:45:55 2008 +0100 @@ -1,5 +1,6 @@ default = 'changelog' feedupdated = '<updated>#date|rfc3339date#</updated>' +mimetype = 'application/atom+xml; charset={encoding}' header = header.tmpl changelog = changelog.tmpl changelogentry = changelogentry.tmpl