There was an error while loading. Please reload this page.
1 parent 5bdb2f0 commit 9f06fd2Copy full SHA for 9f06fd2
1 file changed
src/async_impl/request.rs
@@ -449,6 +449,10 @@ impl RequestBuilder {
449
450
/// Send a JSON body.
451
///
452
+ /// Serializes the value to JSON and sets resulting bytes as the body.
453
+ ///
454
+ /// Sets Content-Type header to application/json unless the header is already set.
455
456
/// # Optional
457
458
/// This requires the optional `json` feature enabled.
0 commit comments