moby/api/server
Cory Snider 6f7d702f9c api/server: allow empty body for POST /commit again
The error returned by DecodeConfig was changed in
b6d58d749c and caused this to regress.
Allow empty request bodies for this endpoint once again.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 967c7bc5d3)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-05-18 16:11:33 -04:00
..
backend/build Use the image service instead of the reference store for tagging 2023-04-26 16:32:25 +02:00
httpstatus errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
httputils chore: use http constants to replace numbers 2023-04-21 12:13:31 +02:00
middleware api/server: fix empty-lines (revive) 2022-10-01 00:01:13 +02:00
router api/server: allow empty body for POST /commit again 2023-05-18 16:11:33 -04:00
errorhandler.go errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
middleware.go api/server: remove "Logging" from config 2022-04-23 23:38:30 +02:00
server.go set ReadHeaderTimeout to address G112: Potential Slowloris Attack (gosec) 2022-09-22 12:27:32 +02:00
server_test.go api/server: use constants for http methods 2019-10-13 17:30:19 +02:00