tifflhl commented on pull request #8959:
URL: https://github.com/apache/arrow/pull/8959#issuecomment-749275421


   I added a test example implementation called ClientHeaderAuthMiddleware, it 
intercepts headers from a HTTP header auth enabled server and make it 
accessible to the code using the FlightClient. A new test also demonstrates how 
to use the ClientMiddleware to intercept an Authorization header returned from 
the server and to use it in subsequent calls. 
   I don't think it makes sense to include the example ClientMiddleware to the 
.pyx pr .pxd, since they are not callable objects in C++. Also seems like a 
convention to not define explicit middleware objects in python, but rather, 
provide examples?


----------------------------------------------------------------
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]


Reply via email to