alejorodriguez96 commented on code in PR #37696:
URL: https://github.com/apache/airflow/pull/37696#discussion_r1502418031


##########
airflow/providers/http/hooks/http.py:
##########
@@ -38,6 +38,14 @@
     from airflow.models import Connection
 
 
+def _url_from_endpoint(base_url: str | None, endpoint: str | None) -> str:
+    """Combine base url with endpoint."""
+    print(f"base_url: {base_url}, endpoint: {endpoint}")
+    if base_url and not base_url.endswith("/") and endpoint and not 
endpoint.startswith("/"):
+        return base_url + "/" + endpoint

Review Comment:
   done! ty



-- 
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]

Reply via email to