webServer
荷兰人号
adsafasd
展开
-
发现一个iis 重定向的bug
通过iis7,部署了python cgi服务器 想通过该服务返回201 并且 带location的header,期望浏览器能正常不跳转 通过iis,部署了python cgi服务器 def http201(): try: print ('Status: 201 Created') print ('Content-Type: text/html') print ('Loc原创 2011-11-27 15:12:54 · 1025 阅读 · 1 评论 -
django unexpected keyword argument 'use_decimal' 问题
出错信息如下: /usr/local/lib/python2.7/site-packages/django_chartit-0.1-py2.7.egg/chartit/templatetags/chartit.py:4: DeprecationWarning: django.utils.simplejson is deprecated; use json instead. from dja原创 2013-11-08 12:27:49 · 3368 阅读 · 1 评论