Mercurial > hg > index.fcgi > www > www-1
diff laterlinks2/laterlinks_app.py @ 67:49ca145627cb
laterlinks2: fix response code
author | paulo |
---|---|
date | Wed, 19 Nov 2014 15:32:16 -0800 |
parents | 9d3a95d80def |
children | f833a888c548 |
line diff
1.1 --- a/laterlinks2/laterlinks_app.py Wed Oct 01 00:40:30 2014 -0700 1.2 +++ b/laterlinks2/laterlinks_app.py Wed Nov 19 15:32:16 2014 -0800 1.3 @@ -154,6 +154,7 @@ 1.4 1.5 try: 1.6 response_body = main(environ) 1.7 + response_code = "200 OK" 1.8 response_type = "text/html; charset=UTF-8" 1.9 except LLError as e: 1.10 response_body = str(e)