1package fasthttp 2 3var ( 4 defaultServerName = []byte("fasthttp") 5 defaultUserAgent = []byte("fasthttp") 6 defaultContentType = []byte("text/plain; charset=utf-8") 7) 8 9var ( 10 strSlash = []byte("/") 11 strSlashSlash = []byte("//") 12 strSlashDotDot = []byte("/..") 13 strSlashDotSlash = []byte("/./") 14 strSlashDotDotSlash = []byte("/../") 15 strCRLF = []byte("\r\n") 16 strHTTP = []byte("http") 17 strHTTPS = []byte("https") 18 strHTTP11 = []byte("HTTP/1.1") 19 strColonSlashSlash = []byte("://") 20 strColonSpace = []byte(": ") 21 strGMT = []byte("GMT") 22 23 strResponseContinue = []byte("HTTP/1.1 100 Continue\r\n\r\n") 24 25 strGet = []byte(MethodGet) 26 strHead = []byte(MethodHead) 27 strPost = []byte(MethodPost) 28 strPut = []byte(MethodPut) 29 strDelete = []byte(MethodDelete) 30 strConnect = []byte(MethodConnect) 31 strOptions = []byte(MethodOptions) 32 strTrace = []byte(MethodTrace) 33 strPatch = []byte(MethodPatch) 34 35 strExpect = []byte("Expect") 36 strConnection = []byte("Connection") 37 strContentLength = []byte("Content-Length") 38 strContentType = []byte("Content-Type") 39 strDate = []byte("Date") 40 strHost = []byte("Host") 41 strReferer = []byte("Referer") 42 strServer = []byte("Server") 43 strTransferEncoding = []byte("Transfer-Encoding") 44 strContentEncoding = []byte("Content-Encoding") 45 strAcceptEncoding = []byte("Accept-Encoding") 46 strUserAgent = []byte("User-Agent") 47 strCookie = []byte("Cookie") 48 strSetCookie = []byte("Set-Cookie") 49 strLocation = []byte("Location") 50 strIfModifiedSince = []byte("If-Modified-Since") 51 strLastModified = []byte("Last-Modified") 52 strAcceptRanges = []byte("Accept-Ranges") 53 strRange = []byte("Range") 54 strContentRange = []byte("Content-Range") 55 56 strCookieExpires = []byte("expires") 57 strCookieDomain = []byte("domain") 58 strCookiePath = []byte("path") 59 strCookieHTTPOnly = []byte("HttpOnly") 60 strCookieSecure = []byte("secure") 61 strCookieMaxAge = []byte("max-age") 62 strCookieSameSite = []byte("SameSite") 63 strCookieSameSiteLax = []byte("Lax") 64 strCookieSameSiteStrict = []byte("Strict") 65 66 strClose = []byte("close") 67 strGzip = []byte("gzip") 68 strDeflate = []byte("deflate") 69 strKeepAlive = []byte("keep-alive") 70 strUpgrade = []byte("Upgrade") 71 strChunked = []byte("chunked") 72 strIdentity = []byte("identity") 73 str100Continue = []byte("100-continue") 74 strPostArgsContentType = []byte("application/x-www-form-urlencoded") 75 strMultipartFormData = []byte("multipart/form-data") 76 strBoundary = []byte("boundary") 77 strBytes = []byte("bytes") 78 strTextSlash = []byte("text/") 79 strApplicationSlash = []byte("application/") 80) 81