From 9b9f4facd622af738ac39025a0c25be2926e94c7 Mon Sep 17 00:00:00 2001 From: Alex Ungur Date: Tue, 6 Mar 2018 11:52:28 +0200 Subject: [PATCH] Add X-Requested-With header constant --- echo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/echo.go b/echo.go index b622d4e2..4ea44b42 100644 --- a/echo.go +++ b/echo.go @@ -191,6 +191,7 @@ const ( HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" HeaderXRealIP = "X-Real-IP" HeaderXRequestID = "X-Request-ID" + HeaderXRequestedWith = "X-Requested-With" HeaderServer = "Server" HeaderOrigin = "Origin"