pub fn new<T: Into<URL>>(method: Method, url: T) -> Request {
        Request {
            method,
            url: url.into(),
            params: String::new(),
            headers: HashMap::new(),
            body: None,
            timeout: None,
            max_headers_size: None,
            max_status_line_len: None,
            max_redirects: 100,
            #[cfg(feature = "proxy")]
            proxy: None,
        }
    }
/// Creates a new HTTP `Request`.
///
/// This is only the request's data, it is not sent yet. For
/// sending the request, see [`send`](struct.Request.html#method.send).
///
/// If `urlencoding` is not enabled, it is the responsibility of the
/// user to ensure there are no illegal characters in the URL.
///
/// If `urlencoding` is enabled, the resource part of the URL will be
/// encoded. Any URL special characters (e.g. &, #, =) are not encoded
/// as they are assumed to be meaningful parameters etc.
Creates a new HTTP `Request`.
This is only the request's data, it is not sent yet.

If `urlencoding` is not enabled, it is the responsibility of the
user to ensure there are no illegal characters in the URL.

If `urlencoding` is enabled, the resource part of the URL will be
encoded. Any URL special characters  are not encoded
as they are assumed to be meaningful parameters etc.
Creates a new HTTP ` Request ` . This is only the request ' s data it is not sent yet . If ` urlencoding ` is not enabled it is the responsibility of the user to ensure there are no illegal characters in the URL . If ` urlencoding ` is enabled the resource part of the URL will be encoded . Any URL special characters are not encoded as they are assumed to be meaningful parameters etc .
pub fn new<T: Into<URL>>(method: Method, url: T) -> Request {
        Request {
            method,
            url: url.into(),
            params: String::new(),
            headers: HashMap::new(),
            body: None,
            timeout: None,
            max_headers_size: None,
            max_status_line_len: None,
            max_redirects: 100,
            #[cfg(feature = "proxy")]
            proxy: None,
        }
    }
pub fn new < T : Into < URL > > ( method : Method , url : T ) -> Request { Request { method , url : url . into ( ) , params : String :: new ( ) , headers : HashMap :: new ( ) , body : None , timeout : None , max_headers_size : None , max_status_line_len : None , max_redirects : 100 , # [ cfg ( feature " " ) ] proxy : None , } }
Creates a new HTTP `Request`.
Creates a new HTTP ` Request ` .
method
Method
url
T
method
Method
url
T