summaryrefslogtreecommitdiff
path: root/api/server/httputils
Commit message (Expand)AuthorAgeFilesLines
* chore: use http constants to replace numbersxin.li2023-02-211-6/+6
* api: Extract parsing reference from repo and tagPaweł Gronowski2023-02-071-0/+35
* api/server/httputils: move WriteJSON() together with ReadJSON()Sebastiaan van Stijn2022-04-112-15/+9
* api/server/httputils: add ReadJSON() utilitySebastiaan van Stijn2022-04-112-1/+133
* api/server/httputils: matchesContentType(): return error instead of loggingSebastiaan van Stijn2022-04-112-18/+25
* errdefs: move GetHTTPErrorStatusCode to api/server/httpstatusSebastiaan van Stijn2022-03-212-35/+0
* api/server: use constants for http methodsSebastiaan van Stijn2019-10-131-6/+6
* API: explicitely ignore unhandled errorsSebastiaan van Stijn2019-09-182-6/+6
* Move httputils error helpers to errdefs packageSebastiaan van Stijn2019-03-164-295/+35
* Add httputils.FromStatusCode()Sebastiaan van Stijn2019-03-162-0/+139
* Handle correct status codes for distribution errorsSebastiaan van Stijn2019-02-081-1/+26
* Replace deprecated grpc.ErrorDesc() and grpc.Code() callsSebastiaan van Stijn2018-12-301-3/+3
* api/server, dockerversion: modify context keyKimMachineGun2018-08-221-4/+2
* Switch from x/net/context -> contextKir Kolyshkin2018-04-232-3/+2
* Add canonical import commentDaniel Nephin2018-02-058-8/+8
* Merge pull request #35638 from cpuguy83/error_helpers2Yong Tang2018-01-152-19/+6
|\
| * Move api/errdefs to errdefsBrian Goff2018-01-112-2/+2
| * Add helpers to create errdef errorsBrian Goff2018-01-112-18/+5
* | Golint: don't use basic untyped string for context keySebastiaan van Stijn2018-01-151-1/+3
|/
* Move RFC3339NanoFixed to a more appropriate package.Daniel Nephin2017-09-251-6/+2
* LCOW: Implemented support for docker cp + buildAkash Gupta2017-09-141-3/+1
* Add gosimple linterDaniel Nephin2017-09-121-9/+2
* Add deadcode linterDaniel Nephin2017-08-211-8/+0
* Remove string checking in API error handlingBrian Goff2017-08-153-53/+69
* Update logrus to v1.0.1Derek McGowan2017-07-312-2/+2
* Avoid using a map for log attributesAaron Lehmann2017-07-181-19/+21
* Merge pull request #33798 from vdemeester/move-some-api-code-awayVincent Demeester2017-06-242-3/+30
|\
| * Move some `api` package functions awayVincent Demeester2017-06-232-3/+30
* | Remove Go 1.6 code from mobyBoaz Shuster2017-06-192-18/+0
|/
* Suggest login on pull denialAlfred Landrum2017-06-091-0/+1
* choose rpc code to determine status codeallencloud2017-06-061-0/+40
* Change log details encoding format and support details on service logsDrew Erny2017-05-121-0/+2
* refactor logs and support service logs /w ttyDrew Erny2017-04-061-0/+92
* use t.Fatal() to output the err message where the values used for formattingfate-grand-order2017-02-231-1/+1
* fix status-code for "locked" swarm and "certificate expired"Sebastiaan van Stijn2017-02-171-0/+2
* Fix #303111: dockerd leaks ExecIds on failed exec -iDmitry Shyshkin2017-02-101-0/+1
* fix some types on errors and formkaiwentan2017-02-072-2/+2
* Merge pull request #28631 from likel/masterSebastiaan van Stijn2016-12-301-3/+3
|\
| * Remove redundant formatKe Li2016-12-271-3/+3
* | Move UAStringKey to dockerversion pkgTonis Tiigi2016-12-261-3/+0
|/
* return directly without ifs in remaining packagesunclejack2016-12-141-4/+1
* fix typoallencloud2016-11-181-1/+1
* Merge pull request #28532 from stevvooe/disabled-swarm-service-unavailableMichael Crosby2016-11-171-1/+1
|\
| * api/server/httputils: service unavailable for disable swarmStephen J Day2016-11-171-1/+1
* | Merge pull request #28383 from zteBill/fix-useless-varBrian Goff2016-11-171-6/+7
|\ \ | |/ |/|
| * make each return explicitlyzteBill2016-11-171-6/+7
* | api/server/httputils: ensure consistent status codeStephen J Day2016-11-161-13/+16
|/
* api/server/httputils: compile with go < 1.7Antonio Murdaca2016-10-043-10/+33
* Disable HTML escaping for JSON strings in `docker inspect`Yong Tang2016-09-291-1/+3
* Use apiError in server version middleware.Daniel Nephin2016-09-161-1/+6