mirror of
https://github.com/uditkarode/bml-proxy.git
synced 2025-04-20 01:27:06 +00:00
fix: also relay Content-Encoding
This commit is contained in:
parent
ceea7dc8eb
commit
c53f37406f
@ -9,7 +9,7 @@ use unicase::Ascii;
|
|||||||
use warp::hyper::HeaderMap;
|
use warp::hyper::HeaderMap;
|
||||||
use warp::{http::Method, http::Response, hyper::body::Bytes, path::FullPath, Filter};
|
use warp::{http::Method, http::Response, hyper::body::Bytes, path::FullPath, Filter};
|
||||||
|
|
||||||
const FOR_COPY: [&'static str; 2] = ["Content-Type", "Cookie"];
|
const FOR_COPY: [&'static str; 3] = ["Content-Type", "Cookie", "Content-Encoding"];
|
||||||
|
|
||||||
const BASE: &str = "https://www.bankofmaldives.com.mv/internetbanking/api/";
|
const BASE: &str = "https://www.bankofmaldives.com.mv/internetbanking/api/";
|
||||||
const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }";
|
const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user