Download file with redirect using unidici stream issue #3670
Replies: 2 comments 4 replies
-
Maybe it's because there is a redirect (even though I have 404?).
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure if what I've discovered is related (I'm in the process of searching before filing a bug), but it seems the redirect-handler has a bug. In my situation, I'm seeing a bunch of headers passed to the original request disappear from the redirected request. I see examples of Response headers in your comments, @nocquidant, but have you dug into the Request headers across the redirection(s)? Here's my bug filing: #3773 |
Beta Was this translation helpful? Give feedback.
-
Hi, i can't download
https://download.geofabrik.de/europe-latest.osm.pbf
using unidici stream.I am not quite sure if it is an issue with unidici, but curl has no problem with it...
Even if the file is 29.1GB, it fails immediately with the following error.
The code is below:
Note that I have no problem with https://download.geofabrik.de/europe/france-latest.osm.pbf.
Could it be a unidici option that I missed?
Thans for your help!
--nick
Beta Was this translation helpful? Give feedback.
All reactions