Skip to content
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

chore: add content length when handling json request bodies. #815

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

cloudnautique
Copy link
Contributor

Explicitly setting the content length instead of allowing the Go default of transfer encoding chunked.
This change only applies to the application/json request body objects using openapi.

Signed-off-by: Bill Maxwell <cloudnautique@users.noreply.github.com>
@cloudnautique
Copy link
Contributor Author

@drpebcak can you test this with some of your gptscript openapi integrations?

@cloudnautique cloudnautique merged commit 16ca484 into gptscript-ai:main Aug 27, 2024
10 checks passed
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.

2 participants