Age | Commit message (Collapse) | Author |
|
This makes it a bit more obvious what happened in cases like #1838,
reported by Woodrow E Douglass.
While at it, add some more test cases for this particular case, but
also for retry-attempts, as this is also affected when retry is
allowed for non-idempotent requests (which is pretty uncommon, but
possible)
|
|
This allows one to pass in a filename for the data.
|
|
For some reason the hardcoded length was incorrect. It makes more
sense to not hardcode it, as the exact value might differ depending on
the boundary etc.
|
|
This makes it slightly more reliable for certain servers which
absolutely require content length.
An alternative would be to have an explicit API for sending static
string contents. This could be in addition to this approach, because
this should always be a net win.
|
|
|