Commit Graph

10 Commits

Author SHA1 Message Date
risk danger olson
bba8f3b876 update package imports 2016-11-15 10:01:18 -07:00
David Pursehouse
68c0e18d05 Add HTTP 507 (Insufficient Storage) to the list of optional statuses (#1473)
* Add HTTP 507 (Insufficient Storage) to the list of optional statuses

Mention that the server implementation may optionally return status
code 507.

This does not add any specific handling of 507 in either the client or
the test server implementation. If a server returns this status code,
it will be handled by the client as a generic "Server Error".

See #1327 and #1438.

Change-Id: I2de691bb57b3ef44288b91b79226695f768ec44e
Signed-off-by: David Pursehouse <dpursehouse@collab.net>

* Add default error messages for 427, 507 and 509 responses

Change-Id: Ia42731e35f2aa7b918de3d0412205700df968d95
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
2016-08-22 10:37:04 -06:00
risk danger olson
831bcc4358 errors: remove Error prefix 2016-08-19 14:03:39 -06:00
risk danger olson
69acb28d61 lean into pkg/errors philosophy on wrappin' 2016-08-18 15:24:11 -06:00
Taylor Blau
311cc7a2af api,auth,errors,httputil,lfs,transfer: wrap errors 2016-08-18 15:02:21 -06:00
Taylor Blau
8fd3774c92 errors: Errorf -> Wrapf 2016-08-18 14:35:11 -06:00
risk danger olson
2473068345 rename errutil to errors 2016-08-18 14:20:33 -06:00
risk danger olson
b9c5a108d9 replace config.Config references in httputil 2016-07-21 18:07:23 -06:00
risk danger olson
2aa05699f1 remove config.Config references in auth pkg 2016-07-21 17:13:05 -06:00
Steve Streeting
3298d9bbb3 Refactored many api functions to httputil/api package from lfs
Also moved ntlm to httputil since too http-specific to be contained in auth
2016-05-16 17:57:37 +01:00