case-sensitive http headers #16

Closed
opened 2025-07-08 08:36:46 -04:00 by AtHeartEngineer · 0 comments
*Originally created by @theoden8 on 5/14/2024* 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/ollama_proxy_server#16