摘要: request对象的常用属性 具体使用方法如下:request.headers, request.headers.get('If-None-Match')request.json, request.json['value'] 或 request.json.get('detail_msg', "")r 阅读全文
posted @ 2014-05-20 12:57 harrychinese 阅读(4775) 评论(0) 推荐(0) 编辑
摘要: #访问不需要登录的网页import urllib2target_page_url='http://10.224.110.118/myweb/view.jsp' f = urllib2.urlopen(target_page_url)httpCodes=f.getcode()responseStr =... 阅读全文
posted @ 2014-05-20 12:42 harrychinese 阅读(557) 评论(0) 推荐(0) 编辑