[openSUSE/open-build-service] 0cc05a: Fix content type header returned by API endpoints ...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0cc05ae6364ad17adb41ce7e5daabab80c4f60a6 https://github.com/openSUSE/open-build-service/commit/0cc05ae6364ad17adb41ce... Author: Eduardo Navarro <enavarro@suse.com> Date: 2023-05-02 (Tue, 02 May 2023) Changed paths: M src/api/app/controllers/concerns/rescue_handler.rb Log Message: ----------- Fix content type header returned by API endpoints ... ... with backend errors A XML is always returned for backend errors API responses. Before, the header `Content-type: text/plain` was returned. Now: `Content-type: application/xml`. Commit: f25d6a394edcaf1dfae1a2c93be9065f52735044 https://github.com/openSUSE/open-build-service/commit/f25d6a394edcaf1dfae1a2... Author: Eduardo Navarro <enavarro@suse.com> Date: 2023-05-02 (Tue, 02 May 2023) Changed paths: M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_commit.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_commitfilelist.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_linkdiff.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_servicediff.yaml Log Message: ----------- Adjust API documentation after fixing the ... ... content type returned for backend errors Commit: 37e2432e6fa8a6dd572c639b29ca4037dcbf0bef https://github.com/openSUSE/open-build-service/commit/37e2432e6fa8a6dd572c63... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2023-05-04 (Thu, 04 May 2023) Changed paths: M src/api/app/controllers/concerns/rescue_handler.rb M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_commit.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_commitfilelist.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_linkdiff.yaml M src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_servicediff.yaml Log Message: ----------- Merge pull request #14262 from eduardoj/fix/backend_error_xml_responses Fix content type for backend error xml responses Compare: https://github.com/openSUSE/open-build-service/compare/17c700ed1282...37e243...
participants (1)
-
Henne Vogelsang