示例#1
0
def gzip_isClientPrefered(headers_in):
    h = headers_in.get('Accept-Encoding')
    if h:
        return cgiext.gzip_isClientPrefered(h)
示例#2
0
def gzip_isClientPrefered(headers_in):
	h = headers_in.get('Accept-Encoding')
	if h:
		return cgiext.gzip_isClientPrefered(h)
示例#3
0
	def gzip_isClientPrefer(self):
		h = self._req.environ.get('HTTP_ACCEPT_ENCODING')
		if h:
			return cgiext.gzip_isClientPrefered(h)
		else:
			return False