comparison tests/test-hgweb-no-request-uri.out @ 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 e15f7db0f0ee
children c301f15c965a
comparison
equal deleted inserted replaced
5927:b06c56f8fab7 5928:3340aa5a64f7
5 summary: test 5 summary: test
6 6
7 ---- HEADERS 7 ---- HEADERS
8 200 Script output follows 8 200 Script output follows
9 ---- DATA 9 ---- DATA
10 [('content-type', 'application/atom+xml; charset=ascii')] 10 [('Content-type', 'application/atom+xml; charset=ascii')]
11 <?xml version="1.0" encoding="ascii"?> 11 <?xml version="1.0" encoding="ascii"?>
12 <feed xmlns="http://www.w3.org/2005/Atom"> 12 <feed xmlns="http://www.w3.org/2005/Atom">
13 <!-- Changelog --> 13 <!-- Changelog -->
14 <id>http://127.0.0.1/</id> 14 <id>http://127.0.0.1/</id>
15 <link rel="self" href="http://127.0.0.1/atom-log"/> 15 <link rel="self" href="http://127.0.0.1/atom-log"/>
39 ---- ERRORS 39 ---- ERRORS
40 40
41 ---- HEADERS 41 ---- HEADERS
42 200 Script output follows 42 200 Script output follows
43 ---- DATA 43 ---- DATA
44 [('content-type', 'text/plain; charset=ascii')] 44 [('Content-type', 'text/plain; charset=ascii')]
45 45
46 -rw-r--r-- 4 bar 46 -rw-r--r-- 4 bar
47 47
48 48
49 49
50 ---- ERRORS 50 ---- ERRORS
51 51
52 ---- HEADERS 52 ---- HEADERS
53 200 Script output follows 53 200 Script output follows
54 ---- DATA 54 ---- DATA
55 [('content-type', 'text/plain; charset=ascii')] 55 [('Content-type', 'text/plain; charset=ascii')]
56 56
57 /repo/ 57 /repo/
58 58
59 59
60 ---- ERRORS 60 ---- ERRORS
61 61
62 ---- HEADERS 62 ---- HEADERS
63 200 Script output follows 63 200 Script output follows
64 ---- DATA 64 ---- DATA
65 [('content-type', 'text/plain; charset=ascii')] 65 [('Content-type', 'text/plain; charset=ascii')]
66 66
67 -rw-r--r-- 4 bar 67 -rw-r--r-- 4 bar
68 68
69 69
70 70