Add example for soup_message_set_request_body() to docs
The result of soup_message_send*
is an input stream. For the client side, this makes sense as I must read the response data from it.
However, soup_message_set_request_body
also takes an input stream. I guess this is for ease of use within libsoup, but from the client side, this seems backwards. I would expect to write the request body to the server.
TBH, gio's streaming API can be confusing, so maybe this is okay in practice. In which case, this would be request for documentation, as there is an example of client-side download streaming, but not upload streaming.
Edited by Patrick Griffis