Am Tuesday 16 April 2013 schrieb Daniel Stenberg:
On Sun, 14 Apr 2013, Tim Rühsen wrote:
I wanted to propose that we use Content-Type: multipart/form-data and
send the whole file as-is when using the --body-file option. This
allows us to add the long missing functionality to send files as
On Tue, 16 Apr 2013, Tim Ruehsen wrote:
The boundary string Giuseppe mentioned isn't really such a big deal if you
ask me. You can easily make it in the same style as the browsers do it (a
- prefix and a series of random letters) and if you like curl use
12 random hex letters it still
On Sun, 14 Apr 2013, Tim Rühsen wrote:
I wanted to propose that we use Content-Type: multipart/form-data and send
the whole file as-is when using the --body-file option. This allows us to
add the long missing functionality to send files as attachments through
wget, without having to change
Darshit Shah dar...@gmail.com writes:
this change will break backward compatibility, we need a new option for
that and leave the default unchanged.
I am not suggesting that we change the working of --post-file and --post-data
commands. Unlike the patch I just submitted, we could
I don't think this is a good idea. It will create confusion, I prefer
them to work exactly in the same way so one day we can drop the --post-*
commands.
Okay, in that case, we could have a new command, something like:
--body-attach to signify an attached file.
I was more thinking of how to
Am Sonntag, 14. April 2013 schrieb Darshit Shah:
Assuming that my previous patch adding --method, --body-file and
--body-data options is accepted and merged into master,
I wanted to propose that we use Content-Type: multipart/form-data and send
the whole file as-is when using the --body-file