comparison 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
comparison
equal deleted inserted replaced
4175:5bcd612588fc 4176:85884c67228d
11 from MoinMoin import config 11 from MoinMoin import config
12 from MoinMoin.Page import Page 12 from MoinMoin.Page import Page
13 from MoinMoin.wikisync import TagStore 13 from MoinMoin.wikisync import TagStore
14 14
15 def execute(pagename, request): 15 def execute(pagename, request):
16 mimetype = "text/plain" 16 request.response.mimetype = "text/plain"
17
18 request.emit_http_headers(["Content-Type: %s; charset=%s" % (mimetype, config.charset)])
19 17
20 page = Page(request, pagename) 18 page = Page(request, pagename)
21 tags = TagStore(page) 19 tags = TagStore(page)
22 request.write(tags.dump()) 20 request.write(tags.dump())
23 21