product-os-request 0.0.55

Product OS : Request provides a fully featured HTTP request library combining elements of reqwest and hyper for async requests with a series of helper methods to allow for easier usage depending upon your needs for one-time or repeat usage.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Body type specification for requests
//!
//! This module provides types for specifying the body content type.

/// Request body content type
///
/// Specifies the format of the request body.
#[cfg(any(feature = "request", feature = "request_std"))]
pub enum BodyType {
    /// JSON content type (application/json)
    Json,
    /// Form-encoded content type (application/x-www-form-urlencoded)
    Form,
}