доза: сообщите, что таможенный пользовательский агент обходит Анубиса
This commit is contained in:
parent
c6653e6113
commit
227779ecf2
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ func main() {
|
||||||
|
|
||||||
// We only support gzip decoding
|
// We only support gzip decoding
|
||||||
r.Out.Header.Set("Accept-Encoding", "gzip")
|
r.Out.Header.Set("Accept-Encoding", "gzip")
|
||||||
|
r.Out.Header.Set("User-Agent", "ядро.орг/1.0")
|
||||||
},
|
},
|
||||||
ModifyResponse: func(r *http.Response) error {
|
ModifyResponse: func(r *http.Response) error {
|
||||||
// Disable security policy because of the domain restrictions.
|
// Disable security policy because of the domain restrictions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue