@ -1,6 +1,6 @@
[package]
name = "digest_auth"
version = "0.1.2"
version = "0.1.3"
authors = ["Ondřej Hruška <ondra@ondrovo.com>"]
edition = "2018"
description = "Implementation of the Digest Auth algorithm as defined in IETF RFC 2069, 2617, and 7616, intended for HTTP clients"
@ -250,7 +250,7 @@ impl<'a> AuthContext<'a> {
uri : &'u str,
body : Option<&'b [u8]>
) -> Self {
Self::new_with_method(username, password, uri, body, HttpMethod::GET)
Self::new_with_method(username, password, uri, body, HttpMethod::POST)
}
/// Construct a new context with arbitrary verb and, optionally, a payload body