@@ -0,0 +1,491 @@
+import zlib%0Aimport mrequests as requests%0A%0A%0Ahost = %22http://httpbin.org/%22%0A#host = %22http://localhost/%22%0Aurl = host + %22deflate%22%0Ar = requests.get(url, headers=%7B%22TE%22: %22deflate%22%7D)%0A%0Aif r.status_code == 200:%0A    print(%22Response body length: %25i%22 %25 len(r.content))%0A    text = zlib.decompress(r.content).decode(%22utf-8%22)%0A    print(%22Deflated response text length: %25i%22 %25 len(text))%0A    print(%22Response text:%5Cn%22)%0A    print(text)%0Aelse:%0A    print(%22Request failed. Status: %7B%7D%22.format(r.status_code))%0A%0Ar.close()%0A

Add example script for 'deflate' transfer encoding