mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-08 08:43:01 +03:00
Pull request: all: imp http handlers, imp docs
Merge in DNS/adguard-home from fix-openapi to master Squashed commit of the following: commit 0e7530472fb566e5cab73d178c8ec16e5ef11dcb Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Jan 13 17:02:06 2021 +0300 all: imp http handlers, imp docs
This commit is contained in:
parent
e8c1f5c8d3
commit
4474e9fcf9
7 changed files with 87 additions and 27 deletions
internal/home
|
@ -119,7 +119,7 @@ func TestAuthHTTP(t *testing.T) {
|
|||
w.hdr = make(http.Header)
|
||||
r := http.Request{}
|
||||
r.Header = make(http.Header)
|
||||
r.Method = "GET"
|
||||
r.Method = http.MethodGet
|
||||
|
||||
// get / - we're redirected to login page
|
||||
r.URL = &url.URL{Path: "/"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue