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
using the StorageApi client with a package:httpBrowserClient can result in unsafe headers like "user-agent" and "content-length" getting set. XHRs aren't allowed to set these headers (ref)
I'm sure this works great for non-web clients. I guess a PR would be needed to pass in a boolean or have a new subclass that gets instantiated in the case of the request coming from a web client in order to drop the flags.
using the
StorageApi
client with apackage:http
BrowserClient
can result in unsafe headers like "user-agent" and "content-length" getting set. XHRs aren't allowed to set these headers (ref)Steps to reproduce:
pub global activate webdev && webdev serve
http://localhost:8080
The text was updated successfully, but these errors were encountered: