You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the console.log('test_minipass_fetch deflate--', deflate_data.generationtime_ms); is never printed.
Expected Behavior
Call to response.buffer() should correctly resolve, or at least reject explaining why.
Steps To Reproduce
Setup a new request to https://marine-api.open-meteo.com/v1/marine?latitude=39&longitude=9.5&hourly=swell_wave_height,swell_wave_direction,swell_wave_period&models=best_match&timezone=Europe%2FBerlin.
Execute the request.
Try to access const body = await response.buffer() or const body = await response.json().
See promise being pending indefinitely and never resolving nor rejecting.
Environment
npm: 10.2.4
Node: v20.11.0
OS: macOS Sonoma 14.5
platform: Macbook Pro (chipset M3 Pro)
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
As stated in the title,
minipass-fetch
fails to resolve/reject when callingresponse.json()
orresponse.buffer()
after fetching certain APIs.Given the following test
the
console.log('test_minipass_fetch deflate--', deflate_data.generationtime_ms);
is never printed.Expected Behavior
Call to
response.buffer()
should correctly resolve, or at least reject explaining why.Steps To Reproduce
https://marine-api.open-meteo.com/v1/marine?latitude=39&longitude=9.5&hourly=swell_wave_height,swell_wave_direction,swell_wave_period&models=best_match&timezone=Europe%2FBerlin
.const body = await response.buffer()
orconst body = await response.json()
.Environment
The text was updated successfully, but these errors were encountered: