Files
coco-app/docs
SteveLauC 14fbf2ac5d refactor: do status code check before deserializing response (#767)
* refactor: do status code check before deserializing response

This commit adds a status code check to the following requests, only when
this check passes, we deserialize the response JSON body:

- get_connectors_by_server
- mcp_server_search
- datasource_search

A helper function `status_code_check(response, allowed_status_codes)`
is added to make refactoring easier.

* chore: release notes
2025-07-17 15:08:14 +08:00
..
2025-06-05 19:23:14 +08:00
2025-02-18 10:54:36 +08:00
2025-02-18 10:44:50 +08:00