April 5, 2022
View ff5f70e

api/server/httputils: move WriteJSON() together with ReadJSON()

Sebastiaan van Stijn authored on 2022/04/05 20:21:19
View 0c9ff0b

api/server/httputils: add ReadJSON() utility

Sebastiaan van Stijn authored on 2022/04/05 18:43:06
View ef490ca

api/server/httputils: matchesContentType(): return error instead of logging

Sebastiaan van Stijn authored on 2022/04/05 18:31:27
March 21, 2022
View e82b7b2f

errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus

Sebastiaan van Stijn authored on 2022/03/21 19:27:39
August 6, 2019
View 0507c35

API: explicitely ignore unhandled errors

Sebastiaan van Stijn authored on 2019/08/06 00:51:22
February 9, 2019
View 2a9c987

Move httputils error helpers to errdefs package

Sebastiaan van Stijn authored on 2019/02/09 23:53:29
August 22, 2018
View 1377a2d

api/server, dockerversion: modify context key

KimMachineGun authored on 2018/08/22 11:20:22
April 20, 2018
View 7d62e40

Switch from x/net/context -> context

Kir Kolyshkin authored on 2018/04/20 07:30:59
February 6, 2018
View 4f0d95f

Add canonical import comment

Daniel Nephin authored on 2018/02/06 06:05:59
January 16, 2018
View c36274d

Merge pull request #35638 from cpuguy83/error_helpers2

Yong Tang authored on 2018/01/16 03:56:46
January 15, 2018
View dfac74a

Golint: don't use basic untyped string for context key

Sebastiaan van Stijn authored on 2018/01/15 08:43:49
January 12, 2018
View d453fe3

Move api/errdefs to errdefs

Brian Goff authored on 2018/01/12 04:53:06
November 29, 2017
View 87a1242

Add helpers to create errdef errors

Brian Goff authored on 2017/11/29 13:09:37
July 27, 2017
View 1009e6a

Update logrus to v1.0.1

Derek McGowan authored on 2017/07/27 06:42:13
July 19, 2017
View ebcb7d6

Remove string checking in API error handling

Brian Goff authored on 2017/07/19 23:20:13