baolsen commented on a change in pull request #6886: [AIRFLOW-6327] http_hook: 
Accept json= parameter for payload
URL: https://github.com/apache/airflow/pull/6886#discussion_r361609168
 
 

 ##########
 File path: airflow/hooks/http_hook.py
 ##########
 @@ -75,20 +75,24 @@ def get_conn(self, headers=None):
                 try:
                     session.headers.update(conn.extra_dejson)
                 except TypeError:
-                    self.log.warning('Connection to %s has invalid extra 
field.', conn.host)
+                    self.log.warning(
+                        'Connection to %s has invalid extra field.', conn.host)
 
 Review comment:
   Thanks, I'll remove them

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to