Skip to content

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 <son@huggingface.co>
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 <son@huggingface.co>
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 <son@huggingface.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misc. bug: since 235f6e1 llama-server's main.js overwrites Authorization header so Web UI fails behind authenticating reverse proxy

2 participants