Skip to content

Commit

Permalink
Update relevant doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Feb 20, 2024
1 parent 2db73a1 commit 84b78ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/protocol/extension_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ value. For example to forward all the headers that start with 'PREFIX_' from
both HTTP and GRPC, you should add `--http-header-forward-pattern PREFIX_.*
--grpc-header-forward-pattern PREFIX_.*` to your `tritonserver` command.

By default, the regular expression pattern matches headers with case-insensitive
mode according to the HTTP protocol. If you want to enforce case-sensitive mode,
simplying adding the `(?-i)` prefix which turns off case-insensitive mode,
e.g. `--http-header-forward-pattern (?-i)PREFIX_.*`.

The forwarded headers can be accessed using the
[Python](https://github.com/triton-inference-server/python_backend#inference-request-parameters)
or C Backend APIs as inference request parameters.
Expand Down

0 comments on commit 84b78ba

Please sign in to comment.