Commit graph

3 commits

Author SHA1 Message Date
Chris Smith 0ff43808ca Add more useful error for bad credentials. (#51)
* Add more useful error for bad credentials.

The www-authenticate: basic response currently gets caught by
the token transport, which fails to parse it and spits out
a rather oblique "malformed auth challenge header" error.

Make the token transport ignore basic auth types, and make
the error transport handle a 401 response.

* Format authchallenge.go correctly.
2017-12-11 10:42:19 -05:00
Jess Frazelle 162757c7b7
fix delete
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-20 18:49:25 -07:00
Jess Frazelle b5406104f2
prepare reg for junk
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-12 22:23:13 -07:00