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
At my wits end trying to get this POST to return properly.
What else does r2 do to the request vs fetch? Something is wrong. I've tried using different initialization methods and alternate response management to try to get a working result.
I just confirmed replacing node-fetch 2.0.0-alpha.8 with 2.2.0 resolves this issue. In our other environments running yarn upgrade r2 resolved the issue as well even without merging #66
At my wits end trying to get this POST to return properly.
What else does r2 do to the request vs fetch? Something is wrong. I've tried using different initialization methods and alternate response management to try to get a working result.
Universal variables for all four examples:
Broken, returns 400 error html:
Broken; alternate configuration, alternate response handling, still returning 400 error in html:
Working example with raw Header/Body
Working example with node-fetch.Headers (globals created by r2) and Buffer.from(string).
The text was updated successfully, but these errors were encountered: