distribution/registry/auth
Doug Davis c4eb195cc1 Move challenge http status code logic
See: 3ea67df373/registry/handlers/app.go (L498)

Per the comment on line 498, this moves the logic of setting the http
status code into the serveJSON func, leaving the auth.Challenge.ServeHTTP()
func to just set the auth challenge header.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-06-17 18:23:55 -07:00
..
htpasswd Move challenge http status code logic 2015-06-17 18:23:55 -07:00
silly Move challenge http status code logic 2015-06-17 18:23:55 -07:00
token Move challenge http status code logic 2015-06-17 18:23:55 -07:00
auth.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00