We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cf184a commit 455036aCopy full SHA for 455036a
app.py
@@ -10,10 +10,10 @@ def get(self):
10
self.response.headers['Content-Type'] = 'text/plain'
11
self.response.out.write(open('README', 'r').read())
12
def post(self):
13
- self.response.headers['Content-Type'] = 'text/html'
+ self.response.headers['Content-Type'] = 'text/plain'
14
self.response.out.write(pygmentize(self.request.get("lang"), self.request.get("code")))
15
16
-application = webapp.WSGIApplication([('/', App)], debug=True)
+application = webapp.WSGIApplication([('/', App)])
17
18
def pygmentize(lang, code):
19
lexer = get_lexer_by_name(lang)
0 commit comments