Commit 3157f832 authored by Stefan H. Holek's avatar Stefan H. Holek

Content-Type header now contains a charset.

parent 7596da86
...@@ -82,7 +82,7 @@ Test Publish Document ...@@ -82,7 +82,7 @@ Test Publish Document
... """, handle_errors=False) ... """, handle_errors=False)
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Length: 5 Content-Length: 5
Content-Type: text/plain Content-Type: text/plain; charset=...
<BLANKLINE> <BLANKLINE>
index index
...@@ -93,7 +93,7 @@ Test Publish Script ...@@ -93,7 +93,7 @@ Test Publish Script
... """, handle_errors=False) ... """, handle_errors=False)
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Length: 1 Content-Length: 1
Content-Type: text/plain Content-Type: text/plain; charset=...
<BLANKLINE> <BLANKLINE>
1 1
...@@ -104,7 +104,7 @@ Test Publish Script with Argument ...@@ -104,7 +104,7 @@ Test Publish Script with Argument
... """, handle_errors=False) ... """, handle_errors=False)
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Length: 1 Content-Length: 1
Content-Type: text/plain Content-Type: text/plain; charset=...
<BLANKLINE> <BLANKLINE>
3 3
...@@ -174,7 +174,7 @@ Test reading cookies ...@@ -174,7 +174,7 @@ Test reading cookies
... """, handle_errors=False) ... """, handle_errors=False)
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Length: 23 Content-Length: 23
Content-Type: text/plain Content-Type: text/plain; charset=...
<BLANKLINE> <BLANKLINE>
foo: bar foo: bar
baz: oki doki baz: oki doki
......
...@@ -35,7 +35,7 @@ def setUp(self): ...@@ -35,7 +35,7 @@ def setUp(self):
... """) ... """)
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Length: 5 Content-Length: 5
Content-Type: text/plain Content-Type: text/plain; charset=...
<BLANKLINE> <BLANKLINE>
index index
''' '''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment