adapted proxies
This commit is contained in:
@@ -283,7 +283,7 @@ impl PmvhavenProvider {
|
||||
|
||||
let response = client
|
||||
.post(url.clone())
|
||||
// .proxy(proxy)
|
||||
// .proxy(proxy.clone())
|
||||
.json(&request)
|
||||
.header("Content-Type", "text/plain;charset=UTF-8")
|
||||
.send()
|
||||
@@ -362,7 +362,7 @@ impl PmvhavenProvider {
|
||||
|
||||
let response = client
|
||||
.post(url.clone())
|
||||
// .proxy(proxy)
|
||||
// .proxy(proxy.clone())
|
||||
.json(&request)
|
||||
.header("Content-Type", "application/json")
|
||||
.header("Accept", "application/json")
|
||||
|
||||
Reference in New Issue
Block a user