You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/09 04:48:30 UTC

[GitHub] [airflow] xinbinhuang commented on a change in pull request #15295: Prevent creating flask sessions on REST API requests

xinbinhuang commented on a change in pull request #15295:
URL: https://github.com/apache/airflow/pull/15295#discussion_r610343223



##########
File path: airflow/www/extensions/init_views.py
##########
@@ -156,6 +158,21 @@ def set_cors_headers_on_response(response):
     return response
 
 
+class CustomSessionInterface(SecureCookieSessionInterface):

Review comment:
       ```suggestion
   class CustomSessionInterface(SecureCookieSessionInterface):
   ```
   
   I would prefer a better name on the class interface but I can't come up with any..




-- 
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:
users@infra.apache.org