diff options
Diffstat (limited to 'http/http.go')
-rw-r--r-- | http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http.go b/http/http.go index 9a56953..626d75b 100644 --- a/http/http.go +++ b/http/http.go @@ -370,7 +370,7 @@ func NotFoundHandler(w http.ResponseWriter, r *http.Request) *appError { func cliMatcher(r *http.Request) bool { ua := useragent.Parse(r.UserAgent()) switch ua.Product { - case "curl", "HTTPie", "httpie-go", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik": + case "curl", "HTTPie", "httpie-go", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik", "xh": return true } return false |