Closed theoden8 closed 6 months ago
It seems that the header keys are camelcase, while according to https://www.rfc-editor.org/rfc/rfc7230 header fields are case-insensitive. This leads to 403.
Example:
https://github.com/ParisNeo/ollama_proxy_server/blob/main/ollama_proxy_server/main.py#L101 https://github.com/ParisNeo/ollama_proxy_server/blob/main/ollama_proxy_server/main.py#L123
Related: https://github.com/Mobile-Artificial-Intelligence/maid/issues/530#issuecomment-2106339582
The issue was bearer token, apologies.
No problem
It seems that the header keys are camelcase, while according to https://www.rfc-editor.org/rfc/rfc7230 header fields are case-insensitive. This leads to 403.
Example:
https://github.com/ParisNeo/ollama_proxy_server/blob/main/ollama_proxy_server/main.py#L101 https://github.com/ParisNeo/ollama_proxy_server/blob/main/ollama_proxy_server/main.py#L123
Related: https://github.com/Mobile-Artificial-Intelligence/maid/issues/530#issuecomment-2106339582