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
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
@pd4d10, I'm pretty sure pub_server doesn't check if the Accept header is correct, and doesn't respond with Content-Type: application/vnd.pub.v2+json. That might cause problems in the future when new API versions are introduced.
I'm not sure if we make the switch in pub_server, we probably should. But new servers definitely could be more strict in their implementation of the REST API.
By the way please join the discussions on dart-lang/pub#1381 with your thoughts on auth for third-party pub servers (if you have any). We can't use the same Google OAuth token we use for talking to pub.dartlang.org.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Take
addUploader
as an example:We don't know information of the operator. How about changing it to:
Now we could get Google OAuth token from
request.headers
then do permission things.The text was updated successfully, but these errors were encountered: