tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.09k stars 482 forks source link

hooks: Add option to forward HTTP header to gRPC requests #1188

Closed Acconut closed 2 months ago

Acconut commented 2 months ago

This adds the -hooks-grpc-forward-headers option to forward a list of selected header fields from the request to tusd to the gRPC request to the gRPC server. Can be useful for passing through Authorization headers.

Closes https://github.com/tus/tusd/issues/1112.