aboutsummaryrefslogtreecommitdiff
path: root/headers.go
diff options
context:
space:
mode:
authorGravatar Fenny <08jadez@gmail.com> 2020-01-31 15:38:50 -0500
committerGravatar GitHub <noreply@github.com> 2020-01-31 21:38:50 +0100
commit38e068a51cc48ab19ce79c994c66d9fe0741fafe (patch)
treed96b168aacf14f640ba77ed713f4d0342162c57b /headers.go
parentSupport calling Serve multiple times on a Server (#731) (diff)
downloadfasthttp-38e068a51cc48ab19ce79c994c66d9fe0741fafe.tar.gz
fasthttp-38e068a51cc48ab19ce79c994c66d9fe0741fafe.tar.bz2
fasthttp-38e068a51cc48ab19ce79c994c66d9fe0741fafe.zip
Fix XHR Typo (#735)
* Add third-party router / framework to README.md * Fix XHR header * Don't add fiber to the readme yet It needs more users and activity first. We don't just want to add any framework otherwise our readme will get super full. Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
Diffstat (limited to 'headers.go')
-rw-r--r--headers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/headers.go b/headers.go
index 7c3b2cb..378dfec 100644
--- a/headers.go
+++ b/headers.go
@@ -158,7 +158,7 @@ const (
HeaderUpgrade = "Upgrade"
HeaderXDNSPrefetchControl = "X-DNS-Prefetch-Control"
HeaderXPingback = "X-Pingback"
- HeaderXRequestedWith = "X-RequestedWith"
+ HeaderXRequestedWith = "X-Requested-With"
HeaderXRobotsTag = "X-Robots-Tag"
HeaderXUACompatible = "X-UA-Compatible"
)