pub fn new(url: Url, method: Method) -> Self {
        Self {
            url,
            method,
            headers: Headers::new(),
            body: Body::Bytes(bytes::Bytes::new()),
        }
    }
/// Create a new request with an empty body and no headers
Create a new request with an empty body and no headers
Create a new request with an empty body and no headers
pub fn new(url: Url, method: Method) -> Self {
        Self {
            url,
            method,
            headers: Headers::new(),
            body: Body::Bytes(bytes::Bytes::new()),
        }
    }
pub fn new ( url : Url , method : Method ) -> Self { Self { url , method , headers : Headers :: new ( ) , body : Body :: Bytes ( bytes :: Bytes :: new ( ) ) , } }
Create a new request with an empty body and no headers
Create a new request with an empty body and no headers
url
Url
method
Method