distribution/registry/api/v2
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
..
descriptors.go Merge pull request #548 from duglin/MoveErrors 2015-06-15 14:33:28 -07:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00
names.go Fix typo: respository->repository 2015-05-19 13:25:39 -04:00
names_test.go Add more repository name validation test cases 2015-06-04 16:12:35 -07:00
routes.go Path prefix support for running registry somewhere other than root of server 2015-02-26 16:04:43 -08:00
routes_test.go Stronger validation for uuid field in urls 2015-04-01 18:57:59 -07:00
urls.go Updated urlbuilder X-Forwarded-Host logic 2015-04-24 14:16:49 -07:00
urls_test.go Updated urlbuilder X-Forwarded-Host logic 2015-04-24 14:16:49 -07:00