Sdk: Getting error when adding Authorization header in http client

Created on 15 Oct 2017  Â·  5Comments  Â·  Source: dart-lang/sdk

_Also posted here._

I'm getting this error when I try to add Authorization header.
image

I'm adding headers like this (the call I'm using is post):
image

If don't add the Authorization key in headers collection, the exception goes away.

Need urgent help on this.

area-library library-io type-bug

Most helpful comment

How do Dart programmers to let applications working with Authorization?!

If it is a bug, it's really serious.

All 5 comments

I get the same error!
... Also with the other HTTP package...

Can someone help us?

How do Dart programmers to let applications working with Authorization?!

If it is a bug, it's really serious.

I'm getting the same issues as well. I see my users reporting this error

Some weeks ago I've noticed that the status code 301 is not managed from the Dart:IO package.

I've didn't notice it, because in the API testing tools you normally see the API is working, and you do not see the redirect in the history of the request.

Ottieni Outlook per Androidhttps://aka.ms/ghei36


From: Nemory Oliver Martinez notifications@github.com
Sent: Thursday, January 10, 2019 12:55:20 PM
To: dart-lang/sdk
Cc: AndryHTC; Comment
Subject: Re: [dart-lang/sdk] Getting error when adding Authorization header in http client (#31105)

I'm getting the same issues as well. I see my users reporting this error

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dart-lang/sdk/issues/31105#issuecomment-453070533, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcgtRL3y5ATYeUhLmbSuSPUv2XJj4CUtks5vByoogaJpZM4P5qIC.

Was this page helpful?
0 / 5 - 0 ratings