1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry/handlers
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
..
api_test.go Round 4 2015-06-11 21:33:35 -07:00
app_test.go Round 4 2015-06-11 21:33:35 -07:00
app.go Move challenge http status code logic 2015-06-17 18:23:55 -07:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Round 4 2015-06-11 21:33:35 -07:00
blobupload.go Round 4 2015-06-11 21:33:35 -07:00
context.go Move ErrorCode logic to new errcode package 2015-05-26 13:18:54 -07:00
helpers.go Round 4 2015-06-11 21:33:35 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hmac.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Round 4 2015-06-11 21:33:35 -07:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Round 4 2015-06-11 21:33:35 -07:00