moby--moby/api/server/httputils
Sebastiaan van Stijn 1af30c50ca
Add httputils.FromStatusCode()
This utility allows a client to convert an API response
back to a typed error; allowing the client to perform
different actions based on the type of error, without
having to resort to string-matching the error.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-16 00:39:48 +01:00
..
decoder.go
errors.go Add httputils.FromStatusCode() 2019-03-16 00:39:48 +01:00
errors_test.go Add httputils.FromStatusCode() 2019-03-16 00:39:48 +01:00
form.go
form_test.go
httputils.go api/server, dockerversion: modify context key 2018-08-22 11:20:22 +09:00
httputils_test.go
httputils_write_json.go
write_log_stream.go