mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-30 20:04:26 +02:00
replace reqwest with actix::client
This commit is contained in:
@ -33,7 +33,8 @@ impl ContentEncoding {
|
||||
}
|
||||
}
|
||||
|
||||
fn as_str(&self) -> &'static str {
|
||||
#[inline]
|
||||
pub fn as_str(&self) -> &'static str {
|
||||
match *self {
|
||||
ContentEncoding::Br => "br",
|
||||
ContentEncoding::Gzip => "gzip",
|
||||
|
Reference in New Issue
Block a user