distribution/registry/auth/htpasswd
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
..
access.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00
access_test.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00
htpasswd.go Rename the basic access controller to htpasswd 2015-06-10 19:41:35 -07:00
htpasswd_test.go Rename the basic access controller to htpasswd 2015-06-10 19:41:35 -07:00