# HG changeset patch # User Paul Boddie # Date 1381938105 -7200 # Node ID 416c1848029e42933087894060a5d1b5c185f5c0 # Parent 78827e0d7912b8114b8468712562f2cce15820c2 Fixed the response to avoid two sets of headers and an unusable response body. diff -r 78827e0d7912 -r 416c1848029e actions/FetchMessages.py --- a/actions/FetchMessages.py Wed Oct 16 16:50:48 2013 +0200 +++ b/actions/FetchMessages.py Wed Oct 16 17:41:45 2013 +0200 @@ -168,7 +168,7 @@ # Write the response. - request.write("Content-Type: text/plain\n\n") + writeHeaders(request, "text/plain", getMetadata(self.page)) request.write(message.as_string()) return 1, None