Skip to content

Commit

Permalink
Merge pull request #2 from kucherenkovova/xhttp
Browse files Browse the repository at this point in the history
[xnet/xhttp] added consts with common headers
  • Loading branch information
kucherenkovova authored May 28, 2024
2 parents 19f7652 + c595074 commit 17d640f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions xnet/xhttp/header.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package xhttp

const (
HeaderAccept = "Accept"
HeaderAcceptCharset = "Accept-Charset"
HeaderAcceptEncoding = "Accept-Encoding"
HeaderAuthorization = "Authorization"
HeaderContentLength = "Content-Length"
HeaderContentType = "Content-Type"
HeaderETag = "ETag"
HeaderOrigin = "Origin"
HeaderReferer = "Referer"
HeaderServer = "Server"
HeaderUserAgent = "User-Agent"
HeaderXForwardedFor = "X-Forwarded-For"
)

0 comments on commit 17d640f

Please sign in to comment.