question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

chunked encoding response content.

See original GitHub issue

Subject

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

스크린샷 2021-07-15 오후 2 25 28

Actual Behavior

run in Ubuntu -> empty response content

스크린샷 2021-07-14 오후 4 28 15

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
pquentincommented, Jul 14, 2021

Can you please try using urllib3 1.26.6 on macOS too?

0reactions
pquentincommented, Jul 23, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found