Mercurial > piecrust2
comparison piecrust/serving.py @ 232:e534d2bc657c
cosmetic: Fix PEP8 spacing.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 11 Feb 2015 08:31:36 -0800 |
parents | 137bcd498ef9 |
children | c1d4e86a3918 |
comparison
equal
deleted
inserted
replaced
231:137bcd498ef9 | 232:e534d2bc657c |
---|---|
402 'xml': 'text/xml', | 402 'xml': 'text/xml', |
403 'txt': 'text/plain', | 403 'txt': 'text/plain', |
404 'text': 'text/plain', | 404 'text': 'text/plain', |
405 'css': 'text/css', | 405 'css': 'text/css', |
406 'xhtml': 'application/xhtml+xml', | 406 'xhtml': 'application/xhtml+xml', |
407 'atom': 'application/atom+xml', # or 'text/xml'? | 407 'atom': 'application/atom+xml', # or 'text/xml'? |
408 'rss': 'application/rss+xml', # or 'text/xml'? | 408 'rss': 'application/rss+xml', # or 'text/xml'? |
409 'json': 'application/json'} | 409 'json': 'application/json'} |
410 | 410 |
411 | 411 |
412 def find_routes(routes, uri): | 412 def find_routes(routes, uri): |
413 uri = uri.lstrip('/') | 413 uri = uri.lstrip('/') |