aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-09-27 17:29:44 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-09-27 17:29:44 +0200
commit1d6a7e049393256c15158690904adc053338cf74 (patch)
tree1831338380fe49bd4afefc09511b3b18f95a0de8 /strings.go
parentPrecompute default regexp (#662) (diff)
downloadfasthttp-1d6a7e049393256c15158690904adc053338cf74.tar.gz
fasthttp-1d6a7e049393256c15158690904adc053338cf74.tar.bz2
fasthttp-1d6a7e049393256c15158690904adc053338cf74.zip
The Authorization header should include the Basic keyword
Thanks to https://github.com/paween1980
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 343544a..12f1926 100644
--- a/strings.go
+++ b/strings.go
@@ -81,4 +81,5 @@ var (
strBytes = []byte("bytes")
strTextSlash = []byte("text/")
strApplicationSlash = []byte("application/")
+ strBasicSpace = []byte("Basic ")
)