-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
set Reader to Body #6
Conversation
@mattn Thank you! This is a great feature! But, I found a I want to support these |
Yes, please |
How can we set not only Body but also ContentType and ContentLength at the same time? |
ContentType can be set into an
But ContentLength cannot be determined before it is read all from stdin. For example, PutChunkInput has As an idea, add |
I searched
I think the length field can be set automatically by code generation. |
If there will never be more than one Reader in a struct in the future, I see no problem with the --length-fied flag. |
Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
No prob 👍 |
bind stdin to Body in the struct. Now it's possible to upload S3 object like below.