"Here is an example using a GET request to receive data which is gzipped. # /usr/bin/python from httplib import * from urllib import * from StringIO import * from gzip import * connection = HTTPConnection("example.com") head = {"Accept-Encoding" : "gzip,deflate", "Accept-Charset" : "UTF-8,*"} connec
"Here is an example using a GET request to receive data which is gzipped. # /usr/bin/python from httplib import * from urllib import * from StringIO import * from gzip import * connection = HTTPConnection("example.com") head = {"Accept-Encoding" : "gzip,deflate", "Accept-Charset" : "UTF-8,*"} connec
rawwell のブックマーク 2009/05/27 20:24
このブックマークにはスターがありません。
最初のスターをつけてみよう!