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

Cookbook: POST instead of GET in streaming example #2168

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Yenya
Copy link
Contributor

@Yenya Yenya commented Mar 20, 2024

Summary

The example with GET makes no sense, as GET method has no body. Use POST instead.

Motivation

When looking for the way how to do chunked requests I have searched the docs for POST, because I expected that should there be a relevant example, it would use POST. But the Cookbook uses GET for streaming body, which makes no sense.

References

Discussed on IRC #mojo.

The example with GET makes no sense, as GET method has no body.
Use POST instead.
@mergify mergify bot merged commit aa96f58 into mojolicious:main Mar 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants