Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👔 up(net/httpheader): update the ResponseToString() and add new sub p…
…kg httpheader
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package httpheader | ||
Check warning on line 1 in netutil/httpheader/header.go GitHub Actions / Test on go 1.19 and ubuntu-latest
Check warning on line 1 in netutil/httpheader/header.go GitHub Actions / Test on go 1.20 and ubuntu-latest
|
||
|
||
const ( | ||
UserAgent = "User-Agent" | ||
Check warning on line 4 in netutil/httpheader/header.go GitHub Actions / Test on go 1.19 and ubuntu-latest
|
||
UserAuth = "Authorization" | ||
|
||
Accept = "Accept" | ||
Cookie = "Cookie" | ||
|
||
AcceptEnc = "Accept-Encoding" | ||
ContentType = "Content-Type" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters