surawut-jirasaktavee commented on code in PR #74452:
URL: https://github.com/apache/airflow/pull/74452#discussion_r4661646707
##########
providers/http/src/airflow/providers/http/hooks/http.py:
##########
@@ -54,10 +54,14 @@
def _url_from_endpoint(base_url: str | None, endpoint: str | None) -> str:
Review Comment:
I pushed the version from my last comment. so you can see it with CI. I also
added a test for an endpoint with several leading slashes (`//v1/test`), since
`lstrip("/")` now removes all of them.
The scheme-only and trailing-slash cases still work. Could you take another
look when you have time?
--
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]