mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Add chunked transfer decoding to redbean
This commit is contained in:
parent
8d5f60a9cd
commit
58fb2fb3d3
13 changed files with 693 additions and 292 deletions
|
@ -160,8 +160,6 @@ const char *GetHttpHeaderName(int h) {
|
|||
return "Transfer-Encoding";
|
||||
case kHttpUpgrade:
|
||||
return "Upgrade";
|
||||
case kHttpUri:
|
||||
return "Uri";
|
||||
case kHttpWarning:
|
||||
return "Warning";
|
||||
case kHttpWwwAuthenticate:
|
||||
|
@ -184,6 +182,18 @@ const char *GetHttpHeaderName(int h) {
|
|||
return "Accept-Ranges";
|
||||
case kHttpSetCookie:
|
||||
return "Set-Cookie";
|
||||
case kHttpSecChUa:
|
||||
return "Sec-CH-UA";
|
||||
case kHttpSecChUaMobile:
|
||||
return "Sec-CH-UA-Mobile";
|
||||
case kHttpSecFetchSite:
|
||||
return "Sec-Fetch-Site";
|
||||
case kHttpSecFetchMode:
|
||||
return "Sec-Fetch-Mode";
|
||||
case kHttpSecFetchUser:
|
||||
return "Sec-Fetch-User";
|
||||
case kHttpSecFetchDest:
|
||||
return "Sec-Fetch-Dest";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue