Commit Graph
6 Commits
Author SHA1 Message Date
Matt Butcher 70db55d66e fix(httputil): change order of struct fields
This is because the marshals traverse structs in field order, and
it makes more sense for the fields to have status first and details
second.
2016-03-17 16:45:13 -06:00
Matt Butcher 035ba623f2 fix(httputil): add test for decoder 2016-03-17 09:58:10 -06:00
Matt Butcher 3cd679da63 feat(httputil): add a Decoder
This adds a Content-Type-sensitive decoder for HTTP requests.
2016-03-16 18:06:53 -06:00
Matt Butcher 0b0092f24a fix(httputil): improve error handling
Errors are now returned in the best matching format for the
HTTP Accept header.
2016-03-16 16:44:21 -06:00
Matt Butcher 527a4f9c9d fix(manager): rewrite URL param grabbing
This updates path grabbing to match the new URI matcher.
2016-03-15 14:52:15 -06:00
Matt Butcher 05a3965602 fix(manager): add API test for healthz. 2016-03-15 14:49:24 -06:00