rjgoyln commented on code in PR #70936:
URL: https://github.com/apache/airflow/pull/70936#discussion_r3703443177
##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -103,6 +103,20 @@ def _build_query_params(**values: Any) -> dict[str, Any]:
return {name: _serialize_query_param(value) for name, value in
values.items() if value is not None}
+def _has_json_body(response: httpx.Response) -> bool:
+ """
+ Check whether a response declares a JSON body.
Review Comment:
OK, I got it. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]