def _not_found_404(environ, start_response):
status = httplib.NOT_FOUND
start_response('%d %s' % (status, httplib.responses[status]),
[('Content-Type', 'text/plain')])
return ['%s not found' % environ['PATH_INFO']]
static_files_handler.py 文件源码
python
阅读 29
收藏 0
点赞 0
评论 0
评论列表
文章目录