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
method - if not supplied, will default to 'POST' if there's a body, otherwise 'GET'
This does not work for AWS APIs (e.g. MediaLive /prod/channels/:channelId/start) that expect just an empty POST (i.e. Content-Length: 0 / body: "").
Proposed fix: Test body != null (i.e. treating null/undefined as not present, as in TS type body?: BodyInit | null), instead of boolean-evaluating body, here:
According to the documentation:
This does not work for AWS APIs (e.g. MediaLive
/prod/channels/:channelId/start
) that expect just an empty POST (i.e.Content-Length: 0
/body: ""
).Proposed fix: Test
body != null
(i.e. treating null/undefined as not present, as in TS typebody?: BodyInit | null
), instead of boolean-evaluatingbody
, here:aws4fetch/src/main.js
Line 153 in 03f9802
The text was updated successfully, but these errors were encountered: