rust-http icon indicating copy to clipboard operation
rust-http copied to clipboard

Explain what limitations are there for posting

Open Valve opened this issue 11 years ago • 2 comments

The source code comment says:

If you wish to send a request body (e.g. POST requests), I'm sorry to have to tell you that there is not good support for this yet. However, it can be done; here is an example:

Please update the readme and/or documentation with a description of these limitations. The comments say that there are, but it's unclear what they are.

Valve avatar Aug 11 '14 11:08 Valve

I think "not good support" in this case is short for "a lack of a convenient and typesafe request.set_body(...) kind of method or similar solution". The example shows that it's possible, but not as nice as it could be. Am I right, @chris-morgan?

Ogeon avatar Aug 11 '14 12:08 Ogeon

That is correct. That’s what is meant there.

chris-morgan avatar Oct 06 '14 03:10 chris-morgan