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
When using this library, every request to PutLogEvents results in Refused to set unsafe header "Host" or Refused to set unsafe header "Content-Length" being logged in the chrome console.
I couldn't find exactly how are these parameters used, so as a workaround I deleted both of these headers from getRequestParams, on line 36:
When using this library, every request to PutLogEvents results in
Refused to set unsafe header "Host"
orRefused to set unsafe header "Content-Length"
being logged in the chrome console.I couldn't find exactly how are these parameters used, so as a workaround I deleted both of these headers from
getRequestParams
, on line 36:Maybe it would be better if this can be handled in the place where these headers are set.
The text was updated successfully, but these errors were encountered: