[−][src]Function oauth1_request::head
pub fn head<U, R: ?Sized, C, T, SM>(
uri: U,
request: &R,
token: &Token<C, T>,
signature_method: SM
) -> String where
U: Display,
R: Request,
C: Borrow<str>,
T: Borrow<str>,
SM: SignatureMethod,
Authorizes a HEAD
request to uri
using the given credentials.
uri
must not contain a query part, which would result in a wrong signature.