Taragolis commented on issue #36602:
URL: https://github.com/apache/airflow/issues/36602#issuecomment-1883234684

   >and [the documentation for the connection 
type](https://airflow.apache.org/docs/apache-airflow-providers-http/4.8.0/connections/http.html)
 says that https is a valid schema which contradicts the current behavior of 
the operator.
   
   Yep it still valid, but in URI representation schema stored into a different 
place
   
   ```python
   from airflow.models import Connection
   
   conn = Connection(
       conn_type="conn-type",
       host="hostname",
       login="login",
       password="password",
       schema="schema",
       port=1234,
       extra={"foo": "bar", "spam": "egg"}
   )
   
   print(conn.get_uri())
   ```
   
   conn-type://login:password@hostname:1234/**schema**?foo=bar&spam=egg
   
   In another word if parse your example then `https://google.com` parsed into 
the 
   
   Connection Type `https`, which doesn't registered in community providers, 
and host `google.com`.


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to