chunked encoding response content.
See original GitHub issueSubject
In Ubuntu, it does not receive chunked encoding response content.
Environment
>>> print("OS", platform.platform())
OS Linux-3.10.0-1062.18.1.el7.x86_64-x86_64-with-glibc2.27
>>> print("Python", platform.python_version())
Python 3.8.0
>>> print("urllib3", urllib3.__version__)
urllib3 1.26.6
Steps to Reproduce
import platform
import urllib3
print("OS", platform.platform())
print("Python", platform.python_version())
print("urllib3", urllib3.__version__)
url = "https://cargoonline.xyz/image"
http = urllib3.PoolManager()
resp = http.request("GET", url)
print(resp.headers)
print(resp.data)
Expected Behavior
run in Mac
Actual Behavior
run in Ubuntu -> empty response content
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Transfer-Encoding - HTTP - MDN Web Docs
Chunked encoding is useful when larger amounts of data are sent to the client and the total size of the response may not...
Read more >HTTP Chunked Encoding - HttpWatch
Chunked encoding is useful when a large amount of data is being returned to the client and the total size of the response...
Read more >What Is HTTP Chunked Encoding? How Is It Used? - Bunny.net
HTTP Chunked Encoding involves dividing data into smaller blocks. Breaking up data into smaller pieces allows for near-instant load times.
Read more >HTTP Chunking - Oracle
HTTP 1.1 supports chunked encoding, which allows HTTP messages to be broken up into several parts. Chunking is most often used by the...
Read more >Transfer-Encoding: chunked - Stack Overflow
Transfer-Encoding: chunked isn't needed for progressive rendering. However, it is needed when the total content length is unknown before the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you please try using urllib3 1.26.6 on macOS too?
We don’t use curl, no, so that proves this isn’t a urllib3 bug. It’s probably not kernel related, maybe the issue is the OpenSSL version? In any case, we can’t help you fix this since this isn’t a urllib3 bug. You can try StackOverflow or Super User.