HttpClient PUT vs. Fetch PUT Issue
I have a problem using httpclient put while a normal fetch works just fine while uploading an image to S3 using a pre-signed URL.
This is the funciton to upload the file:
Taht fails with
This is the funciton to upload the file:
Taht fails with
net::ERR_H2_OR_QUIC_REQUIRED, while a normal fetch just like this: fetch(url, { method: "PUT", body: file }).then(console.log); works without problems. What is the reason?