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

[BUGFIX] Use correct POST body for submitting the glossary #172

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

koehnlein
Copy link
Contributor

I have glossary with ~4900 entries. When trying to submit it to DeepL, I received an exception:

Bildschirmfoto vom 2023-03-24 10-27-06

I could solve it, by moving the body content from the Request to the options.

For any reason, guzzle's PrepareBodyMiddleware was not able to calculate the correct content length for your way.

@NarkNiro NarkNiro self-requested a review April 28, 2023 13:21
Copy link
Member

@NarkNiro NarkNiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @koehnlein,

Thanks for your pull request, I have cross-checked it and adjusted some styling.

@NarkNiro NarkNiro merged commit 78602f4 into web-vision:master Apr 28, 2023
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