spiegel_podman/pkg/api
Aditya R 7e37c608f7 compat: endpoint /build must set header content type as application/json in reponse
Lot of clients are expecting proper `Content-type: application/json`
configured in response headers of `/build` compat api. Following commit
fixes that.

Fixes issues where code is setting header field after writing header
which is wrong. We must set `content-type` before we write and flush
http header.

Signed-off-by: Aditya R <arajan@redhat.com>
2022-02-10 13:58:12 -05:00
..
handlers compat: endpoint /build must set header content type as application/json in reponse 2022-02-10 13:58:12 -05:00
server Update godoc, swagger using wrong struct 2022-01-25 10:05:51 -07:00
types Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
Makefile [CI:DOCS] Update swagger definition of inspect manifest 2021-04-07 09:18:23 -07:00
tags.yaml [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00