Skip to content

server: avoid overwriting Authorization header #10878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

vesath
Copy link
Contributor

@vesath vesath commented Dec 18, 2024

If no API key is set, leave the Authorization header as is. It may be used by another part of the Web stack, such as an authenticating proxy.

Fixes #10854

(This PR supersedes #10859 and #10870 )

If no API key is set, leave the Authorization header as is. It may be
used by another part of the Web stack, such as an authenticating proxy.

Fixes ggml-org#10854
@ngxson ngxson merged commit 7bbb5ac into ggml-org:master Dec 18, 2024
6 checks passed
@vesath
Copy link
Contributor Author

vesath commented Dec 18, 2024

Thank you! @ngxson

arthw pushed a commit to arthw/llama.cpp that referenced this pull request Dec 20, 2024
* server: avoid overwriting Authorization header

If no API key is set, leave the Authorization header as is. It may be
used by another part of the Web stack, such as an authenticating proxy.

Fixes ggml-org#10854

* rebuild

---------

Co-authored-by: Xuan Son Nguyen <[email protected]>
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
* server: avoid overwriting Authorization header

If no API key is set, leave the Authorization header as is. It may be
used by another part of the Web stack, such as an authenticating proxy.

Fixes ggml-org#10854

* rebuild

---------

Co-authored-by: Xuan Son Nguyen <[email protected]>
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
* server: avoid overwriting Authorization header

If no API key is set, leave the Authorization header as is. It may be
used by another part of the Web stack, such as an authenticating proxy.

Fixes ggml-org#10854

* rebuild

---------

Co-authored-by: Xuan Son Nguyen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants