Skip to content

fix(client): add Content-Type header to send_streaming#1207

Closed
Phoenix500526 wants to merge 1 commit into0xPlaygrounds:mainfrom
Phoenix500526:header/content-type
Closed

fix(client): add Content-Type header to send_streaming#1207
Phoenix500526 wants to merge 1 commit into0xPlaygrounds:mainfrom
Phoenix500526:header/content-type

Conversation

@Phoenix500526
Copy link
Copy Markdown
Contributor

Unlike send, send_streaming was not setting Content-Type header, causing 503 errors on strict API providers like OpenRouter.

Closes: #1206

Unlike `send`, `send_streaming` was not setting Content-Type header,
causing 503 errors on some strict API providers, like OpenRouter.

Closes: 0xPlaygrounds#1206
Signed-off-by: Jiawei Zhao <Phoenix500526@163.com>
@joshua-mo-143
Copy link
Copy Markdown
Contributor

Closing because this is a duplicate of #1196

@Phoenix500526 Phoenix500526 deleted the header/content-type branch February 25, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Inconsistent Content-Type header between send and send_streaming

2 participants