diff MoinMoin/action/showtags.py @ 4176:85884c67228d

Replaced/removed calls to request.emit_http_headers
author Florian Krupicka <florian.krupicka@googlemail.com>
date Wed, 18 Jun 2008 00:28:07 +0200
parents bb2e053067fb
children fc20a076aad0
line wrap: on
line diff
--- a/MoinMoin/action/showtags.py	Tue Jun 17 18:36:56 2008 +0200
+++ b/MoinMoin/action/showtags.py	Wed Jun 18 00:28:07 2008 +0200
@@ -13,9 +13,7 @@
 from MoinMoin.wikisync import TagStore
 
 def execute(pagename, request):
-    mimetype = "text/plain"
-
-    request.emit_http_headers(["Content-Type: %s; charset=%s" % (mimetype, config.charset)])
+    request.response.mimetype = "text/plain"
 
     page = Page(request, pagename)
     tags = TagStore(page)