fritz-astronomer opened a new issue, #54112:
URL: https://github.com/apache/airflow/issues/54112
### Apache Airflow Provider(s)
http
### Versions of Apache Airflow Providers
`apache-airflow-providers-http==5.3.3`
### Apache Airflow version
3.0.4
### Operating System
Astro / Debian
### Deployment
Astronomer
### Deployment details
_No response_
### What happened
_No response_
### What you think should happen instead
_No response_
### How to reproduce
```pycon
>>> import os
>>> os.environ['AIRFLOW_CONN_FOO'] = '{"conn_type": "http", "host":
"foo.bar.com", "schema": "https"}'
>>> from airflow.providers.http.hooks.http import HttpHook
>>> HttpHook(http_conn_id="FOO").url_from_endpoint("baz/bop")
'baz/bop'
```
❌ **Incorrect**
```pycon
>>> import os
>>> os.environ['AIRFLOW_CONN_FOO'] = '{"conn_type": "http", "host":
"foo.bar.com", "schema": "https"}'
>>> from airflow.providers.http.hooks.http import HttpHook
>>> h = HttpHook(http_conn_id="FOO")
>>> h.get_conn() # calls `self._set_base_url(connection)`
>>> h.url_from_endpoint("baz/bop")
'https://foo.bar.com/baz/bop'
```
✅ correct, called `self._set_base_url` via `get_conn` (though was otherwise
unnecessary)
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]