avantgardnerio commented on code in PR #2309:
URL: https://github.com/apache/arrow-rs/pull/2309#discussion_r937151038
##########
arrow-flight/src/sql/server.rs:
##########
@@ -285,31 +289,38 @@ where
async fn get_flight_info(
&self,
- request: Request<FlightDescriptor>,
+ tonic_request: Request<FlightDescriptor>,
) -> Result<Response<FlightInfo>, Status> {
- let request = request.into_inner();
+ println!("--- get_flight_info ---");
+ for md in tonic_request.metadata().iter() {
+ println!("{:?}", md);
+ }
+ let mut auth = None;
+ if let Some(md) = tonic_request.metadata().get("authorization") {
Review Comment:
Need to deduplicate this copypasta somehow.
--
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]