-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add generating http headers * remove first name with spaces
- Loading branch information
1 parent
6c298fc
commit 2b93e95
Showing
7 changed files
with
165 additions
and
17 deletions.
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
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
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
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
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,49 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> httpRequestHeaders = {"A-IM", | ||
"Accept", | ||
"Accept-Charset", | ||
"Accept-Datetime", | ||
"Accept-Encoding", | ||
"Accept-Language", | ||
"Access-Control-Request-Method", | ||
"Access-Control-Request-Headers", | ||
"Authorization", | ||
"Cache-Control", | ||
"Connection", | ||
"Content-Encoding", | ||
"Content-Length", | ||
"Content-MD5", | ||
"Content-Type", | ||
"Cookie", | ||
"Date", | ||
"Expect", | ||
"Forwarded", | ||
"From", | ||
"Host", | ||
"HTTP2-Settings", | ||
"If-Match", | ||
"If-Modified-Since", | ||
"If-None-Match", | ||
"If-Range", | ||
"If-Unmodified-Since", | ||
"Max-Forwards", | ||
"Origin", | ||
"Pragma", | ||
"Prefer", | ||
"Proxy-Authorization", | ||
"Range", | ||
"Referer", | ||
"TE", | ||
"Transfer-Encoding", | ||
"User-Agent", | ||
"Upgrade", | ||
"Upgrade", | ||
"Via", | ||
"Warning"}; | ||
} |
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,52 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> httpResponseHeaders = {"Accept-CH", | ||
"Access-Control-Allow-Origin", | ||
"Access-Control-Allow-Credentials", | ||
"Access-Control-Expose-Headers", | ||
"Access-Control-Max-Age", | ||
"Access-Control-Allow-Methods", | ||
"Access-Control-Allow-HeadersAccess-Control-Allow-Origin", | ||
"Accept-Patch", | ||
"Accept-Ranges", | ||
"Age", | ||
"Allow", | ||
"Alt-Svc", | ||
"Cache-Control", | ||
"Connection", | ||
"Content-Disposition", | ||
"Content-Encoding", | ||
"Content-Language", | ||
"Content-Length", | ||
"Content-Location", | ||
"Content-MD5", | ||
"Content-Range", | ||
"Content-Type", | ||
"Date", | ||
"Delta-Base", | ||
"ETag", | ||
"Expires", | ||
"IM", | ||
"Last-Modified", | ||
"Location", | ||
"P3P", | ||
"Pragma", | ||
"Preference-Applied", | ||
"Proxy-Authenticate", | ||
"Public-Key-Pins", | ||
"Retry-After", | ||
"Server", | ||
"Set-Cookie", | ||
"Strict-Transport-Security", | ||
"Transfer-Encoding", | ||
"Tk", | ||
"Upgrade", | ||
"Vary", | ||
"Warning", | ||
"WWW-Authenticate"}; | ||
} |
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