|
|
|
@ -44,7 +44,7 @@ |
|
|
|
|
|
|
|
|
|
#include "src/core/lib/transport/metadata.h" |
|
|
|
|
|
|
|
|
|
#define GRPC_STATIC_MDSTR_COUNT 90 |
|
|
|
|
#define GRPC_STATIC_MDSTR_COUNT 91 |
|
|
|
|
extern grpc_mdstr grpc_static_mdstr_table[GRPC_STATIC_MDSTR_COUNT]; |
|
|
|
|
/* "0" */ |
|
|
|
|
#define GRPC_MDSTR_0 (&grpc_static_mdstr_table[0]) |
|
|
|
@ -175,60 +175,62 @@ extern grpc_mdstr grpc_static_mdstr_table[GRPC_STATIC_MDSTR_COUNT]; |
|
|
|
|
#define GRPC_MDSTR_LAST_MODIFIED (&grpc_static_mdstr_table[62]) |
|
|
|
|
/* "link" */ |
|
|
|
|
#define GRPC_MDSTR_LINK (&grpc_static_mdstr_table[63]) |
|
|
|
|
/* "load-reporting" */ |
|
|
|
|
#define GRPC_MDSTR_LOAD_REPORTING (&grpc_static_mdstr_table[64]) |
|
|
|
|
/* "location" */ |
|
|
|
|
#define GRPC_MDSTR_LOCATION (&grpc_static_mdstr_table[64]) |
|
|
|
|
#define GRPC_MDSTR_LOCATION (&grpc_static_mdstr_table[65]) |
|
|
|
|
/* "max-forwards" */ |
|
|
|
|
#define GRPC_MDSTR_MAX_FORWARDS (&grpc_static_mdstr_table[65]) |
|
|
|
|
#define GRPC_MDSTR_MAX_FORWARDS (&grpc_static_mdstr_table[66]) |
|
|
|
|
/* ":method" */ |
|
|
|
|
#define GRPC_MDSTR_METHOD (&grpc_static_mdstr_table[66]) |
|
|
|
|
#define GRPC_MDSTR_METHOD (&grpc_static_mdstr_table[67]) |
|
|
|
|
/* ":path" */ |
|
|
|
|
#define GRPC_MDSTR_PATH (&grpc_static_mdstr_table[67]) |
|
|
|
|
#define GRPC_MDSTR_PATH (&grpc_static_mdstr_table[68]) |
|
|
|
|
/* "POST" */ |
|
|
|
|
#define GRPC_MDSTR_POST (&grpc_static_mdstr_table[68]) |
|
|
|
|
#define GRPC_MDSTR_POST (&grpc_static_mdstr_table[69]) |
|
|
|
|
/* "proxy-authenticate" */ |
|
|
|
|
#define GRPC_MDSTR_PROXY_AUTHENTICATE (&grpc_static_mdstr_table[69]) |
|
|
|
|
#define GRPC_MDSTR_PROXY_AUTHENTICATE (&grpc_static_mdstr_table[70]) |
|
|
|
|
/* "proxy-authorization" */ |
|
|
|
|
#define GRPC_MDSTR_PROXY_AUTHORIZATION (&grpc_static_mdstr_table[70]) |
|
|
|
|
#define GRPC_MDSTR_PROXY_AUTHORIZATION (&grpc_static_mdstr_table[71]) |
|
|
|
|
/* "PUT" */ |
|
|
|
|
#define GRPC_MDSTR_PUT (&grpc_static_mdstr_table[71]) |
|
|
|
|
#define GRPC_MDSTR_PUT (&grpc_static_mdstr_table[72]) |
|
|
|
|
/* "range" */ |
|
|
|
|
#define GRPC_MDSTR_RANGE (&grpc_static_mdstr_table[72]) |
|
|
|
|
#define GRPC_MDSTR_RANGE (&grpc_static_mdstr_table[73]) |
|
|
|
|
/* "referer" */ |
|
|
|
|
#define GRPC_MDSTR_REFERER (&grpc_static_mdstr_table[73]) |
|
|
|
|
#define GRPC_MDSTR_REFERER (&grpc_static_mdstr_table[74]) |
|
|
|
|
/* "refresh" */ |
|
|
|
|
#define GRPC_MDSTR_REFRESH (&grpc_static_mdstr_table[74]) |
|
|
|
|
#define GRPC_MDSTR_REFRESH (&grpc_static_mdstr_table[75]) |
|
|
|
|
/* "retry-after" */ |
|
|
|
|
#define GRPC_MDSTR_RETRY_AFTER (&grpc_static_mdstr_table[75]) |
|
|
|
|
#define GRPC_MDSTR_RETRY_AFTER (&grpc_static_mdstr_table[76]) |
|
|
|
|
/* ":scheme" */ |
|
|
|
|
#define GRPC_MDSTR_SCHEME (&grpc_static_mdstr_table[76]) |
|
|
|
|
#define GRPC_MDSTR_SCHEME (&grpc_static_mdstr_table[77]) |
|
|
|
|
/* "server" */ |
|
|
|
|
#define GRPC_MDSTR_SERVER (&grpc_static_mdstr_table[77]) |
|
|
|
|
#define GRPC_MDSTR_SERVER (&grpc_static_mdstr_table[78]) |
|
|
|
|
/* "set-cookie" */ |
|
|
|
|
#define GRPC_MDSTR_SET_COOKIE (&grpc_static_mdstr_table[78]) |
|
|
|
|
#define GRPC_MDSTR_SET_COOKIE (&grpc_static_mdstr_table[79]) |
|
|
|
|
/* "/" */ |
|
|
|
|
#define GRPC_MDSTR_SLASH (&grpc_static_mdstr_table[79]) |
|
|
|
|
#define GRPC_MDSTR_SLASH (&grpc_static_mdstr_table[80]) |
|
|
|
|
/* "/index.html" */ |
|
|
|
|
#define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (&grpc_static_mdstr_table[80]) |
|
|
|
|
#define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (&grpc_static_mdstr_table[81]) |
|
|
|
|
/* ":status" */ |
|
|
|
|
#define GRPC_MDSTR_STATUS (&grpc_static_mdstr_table[81]) |
|
|
|
|
#define GRPC_MDSTR_STATUS (&grpc_static_mdstr_table[82]) |
|
|
|
|
/* "strict-transport-security" */ |
|
|
|
|
#define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (&grpc_static_mdstr_table[82]) |
|
|
|
|
#define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (&grpc_static_mdstr_table[83]) |
|
|
|
|
/* "te" */ |
|
|
|
|
#define GRPC_MDSTR_TE (&grpc_static_mdstr_table[83]) |
|
|
|
|
#define GRPC_MDSTR_TE (&grpc_static_mdstr_table[84]) |
|
|
|
|
/* "trailers" */ |
|
|
|
|
#define GRPC_MDSTR_TRAILERS (&grpc_static_mdstr_table[84]) |
|
|
|
|
#define GRPC_MDSTR_TRAILERS (&grpc_static_mdstr_table[85]) |
|
|
|
|
/* "transfer-encoding" */ |
|
|
|
|
#define GRPC_MDSTR_TRANSFER_ENCODING (&grpc_static_mdstr_table[85]) |
|
|
|
|
#define GRPC_MDSTR_TRANSFER_ENCODING (&grpc_static_mdstr_table[86]) |
|
|
|
|
/* "user-agent" */ |
|
|
|
|
#define GRPC_MDSTR_USER_AGENT (&grpc_static_mdstr_table[86]) |
|
|
|
|
#define GRPC_MDSTR_USER_AGENT (&grpc_static_mdstr_table[87]) |
|
|
|
|
/* "vary" */ |
|
|
|
|
#define GRPC_MDSTR_VARY (&grpc_static_mdstr_table[87]) |
|
|
|
|
#define GRPC_MDSTR_VARY (&grpc_static_mdstr_table[88]) |
|
|
|
|
/* "via" */ |
|
|
|
|
#define GRPC_MDSTR_VIA (&grpc_static_mdstr_table[88]) |
|
|
|
|
#define GRPC_MDSTR_VIA (&grpc_static_mdstr_table[89]) |
|
|
|
|
/* "www-authenticate" */ |
|
|
|
|
#define GRPC_MDSTR_WWW_AUTHENTICATE (&grpc_static_mdstr_table[89]) |
|
|
|
|
#define GRPC_MDSTR_WWW_AUTHENTICATE (&grpc_static_mdstr_table[90]) |
|
|
|
|
|
|
|
|
|
#define GRPC_STATIC_MDELEM_COUNT 79 |
|
|
|
|
#define GRPC_STATIC_MDELEM_COUNT 80 |
|
|
|
|
extern grpc_mdelem grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT]; |
|
|
|
|
extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT]; |
|
|
|
|
/* "accept-charset": "" */ |
|
|
|
@ -333,71 +335,73 @@ extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT]; |
|
|
|
|
#define GRPC_MDELEM_LAST_MODIFIED_EMPTY (&grpc_static_mdelem_table[45]) |
|
|
|
|
/* "link": "" */ |
|
|
|
|
#define GRPC_MDELEM_LINK_EMPTY (&grpc_static_mdelem_table[46]) |
|
|
|
|
/* "load-reporting": "" */ |
|
|
|
|
#define GRPC_MDELEM_LOAD_REPORTING_EMPTY (&grpc_static_mdelem_table[47]) |
|
|
|
|
/* "location": "" */ |
|
|
|
|
#define GRPC_MDELEM_LOCATION_EMPTY (&grpc_static_mdelem_table[47]) |
|
|
|
|
#define GRPC_MDELEM_LOCATION_EMPTY (&grpc_static_mdelem_table[48]) |
|
|
|
|
/* "max-forwards": "" */ |
|
|
|
|
#define GRPC_MDELEM_MAX_FORWARDS_EMPTY (&grpc_static_mdelem_table[48]) |
|
|
|
|
#define GRPC_MDELEM_MAX_FORWARDS_EMPTY (&grpc_static_mdelem_table[49]) |
|
|
|
|
/* ":method": "GET" */ |
|
|
|
|
#define GRPC_MDELEM_METHOD_GET (&grpc_static_mdelem_table[49]) |
|
|
|
|
#define GRPC_MDELEM_METHOD_GET (&grpc_static_mdelem_table[50]) |
|
|
|
|
/* ":method": "POST" */ |
|
|
|
|
#define GRPC_MDELEM_METHOD_POST (&grpc_static_mdelem_table[50]) |
|
|
|
|
#define GRPC_MDELEM_METHOD_POST (&grpc_static_mdelem_table[51]) |
|
|
|
|
/* ":method": "PUT" */ |
|
|
|
|
#define GRPC_MDELEM_METHOD_PUT (&grpc_static_mdelem_table[51]) |
|
|
|
|
#define GRPC_MDELEM_METHOD_PUT (&grpc_static_mdelem_table[52]) |
|
|
|
|
/* ":path": "/" */ |
|
|
|
|
#define GRPC_MDELEM_PATH_SLASH (&grpc_static_mdelem_table[52]) |
|
|
|
|
#define GRPC_MDELEM_PATH_SLASH (&grpc_static_mdelem_table[53]) |
|
|
|
|
/* ":path": "/index.html" */ |
|
|
|
|
#define GRPC_MDELEM_PATH_SLASH_INDEX_DOT_HTML (&grpc_static_mdelem_table[53]) |
|
|
|
|
#define GRPC_MDELEM_PATH_SLASH_INDEX_DOT_HTML (&grpc_static_mdelem_table[54]) |
|
|
|
|
/* "proxy-authenticate": "" */ |
|
|
|
|
#define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[54]) |
|
|
|
|
#define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[55]) |
|
|
|
|
/* "proxy-authorization": "" */ |
|
|
|
|
#define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY (&grpc_static_mdelem_table[55]) |
|
|
|
|
#define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY (&grpc_static_mdelem_table[56]) |
|
|
|
|
/* "range": "" */ |
|
|
|
|
#define GRPC_MDELEM_RANGE_EMPTY (&grpc_static_mdelem_table[56]) |
|
|
|
|
#define GRPC_MDELEM_RANGE_EMPTY (&grpc_static_mdelem_table[57]) |
|
|
|
|
/* "referer": "" */ |
|
|
|
|
#define GRPC_MDELEM_REFERER_EMPTY (&grpc_static_mdelem_table[57]) |
|
|
|
|
#define GRPC_MDELEM_REFERER_EMPTY (&grpc_static_mdelem_table[58]) |
|
|
|
|
/* "refresh": "" */ |
|
|
|
|
#define GRPC_MDELEM_REFRESH_EMPTY (&grpc_static_mdelem_table[58]) |
|
|
|
|
#define GRPC_MDELEM_REFRESH_EMPTY (&grpc_static_mdelem_table[59]) |
|
|
|
|
/* "retry-after": "" */ |
|
|
|
|
#define GRPC_MDELEM_RETRY_AFTER_EMPTY (&grpc_static_mdelem_table[59]) |
|
|
|
|
#define GRPC_MDELEM_RETRY_AFTER_EMPTY (&grpc_static_mdelem_table[60]) |
|
|
|
|
/* ":scheme": "grpc" */ |
|
|
|
|
#define GRPC_MDELEM_SCHEME_GRPC (&grpc_static_mdelem_table[60]) |
|
|
|
|
#define GRPC_MDELEM_SCHEME_GRPC (&grpc_static_mdelem_table[61]) |
|
|
|
|
/* ":scheme": "http" */ |
|
|
|
|
#define GRPC_MDELEM_SCHEME_HTTP (&grpc_static_mdelem_table[61]) |
|
|
|
|
#define GRPC_MDELEM_SCHEME_HTTP (&grpc_static_mdelem_table[62]) |
|
|
|
|
/* ":scheme": "https" */ |
|
|
|
|
#define GRPC_MDELEM_SCHEME_HTTPS (&grpc_static_mdelem_table[62]) |
|
|
|
|
#define GRPC_MDELEM_SCHEME_HTTPS (&grpc_static_mdelem_table[63]) |
|
|
|
|
/* "server": "" */ |
|
|
|
|
#define GRPC_MDELEM_SERVER_EMPTY (&grpc_static_mdelem_table[63]) |
|
|
|
|
#define GRPC_MDELEM_SERVER_EMPTY (&grpc_static_mdelem_table[64]) |
|
|
|
|
/* "set-cookie": "" */ |
|
|
|
|
#define GRPC_MDELEM_SET_COOKIE_EMPTY (&grpc_static_mdelem_table[64]) |
|
|
|
|
#define GRPC_MDELEM_SET_COOKIE_EMPTY (&grpc_static_mdelem_table[65]) |
|
|
|
|
/* ":status": "200" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_200 (&grpc_static_mdelem_table[65]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_200 (&grpc_static_mdelem_table[66]) |
|
|
|
|
/* ":status": "204" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_204 (&grpc_static_mdelem_table[66]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_204 (&grpc_static_mdelem_table[67]) |
|
|
|
|
/* ":status": "206" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_206 (&grpc_static_mdelem_table[67]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_206 (&grpc_static_mdelem_table[68]) |
|
|
|
|
/* ":status": "304" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_304 (&grpc_static_mdelem_table[68]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_304 (&grpc_static_mdelem_table[69]) |
|
|
|
|
/* ":status": "400" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_400 (&grpc_static_mdelem_table[69]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_400 (&grpc_static_mdelem_table[70]) |
|
|
|
|
/* ":status": "404" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_404 (&grpc_static_mdelem_table[70]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_404 (&grpc_static_mdelem_table[71]) |
|
|
|
|
/* ":status": "500" */ |
|
|
|
|
#define GRPC_MDELEM_STATUS_500 (&grpc_static_mdelem_table[71]) |
|
|
|
|
#define GRPC_MDELEM_STATUS_500 (&grpc_static_mdelem_table[72]) |
|
|
|
|
/* "strict-transport-security": "" */ |
|
|
|
|
#define GRPC_MDELEM_STRICT_TRANSPORT_SECURITY_EMPTY \ |
|
|
|
|
(&grpc_static_mdelem_table[72]) |
|
|
|
|
(&grpc_static_mdelem_table[73]) |
|
|
|
|
/* "te": "trailers" */ |
|
|
|
|
#define GRPC_MDELEM_TE_TRAILERS (&grpc_static_mdelem_table[73]) |
|
|
|
|
#define GRPC_MDELEM_TE_TRAILERS (&grpc_static_mdelem_table[74]) |
|
|
|
|
/* "transfer-encoding": "" */ |
|
|
|
|
#define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY (&grpc_static_mdelem_table[74]) |
|
|
|
|
#define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY (&grpc_static_mdelem_table[75]) |
|
|
|
|
/* "user-agent": "" */ |
|
|
|
|
#define GRPC_MDELEM_USER_AGENT_EMPTY (&grpc_static_mdelem_table[75]) |
|
|
|
|
#define GRPC_MDELEM_USER_AGENT_EMPTY (&grpc_static_mdelem_table[76]) |
|
|
|
|
/* "vary": "" */ |
|
|
|
|
#define GRPC_MDELEM_VARY_EMPTY (&grpc_static_mdelem_table[76]) |
|
|
|
|
#define GRPC_MDELEM_VARY_EMPTY (&grpc_static_mdelem_table[77]) |
|
|
|
|
/* "via": "" */ |
|
|
|
|
#define GRPC_MDELEM_VIA_EMPTY (&grpc_static_mdelem_table[77]) |
|
|
|
|
#define GRPC_MDELEM_VIA_EMPTY (&grpc_static_mdelem_table[78]) |
|
|
|
|
/* "www-authenticate": "" */ |
|
|
|
|
#define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[78]) |
|
|
|
|
#define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[79]) |
|
|
|
|
|
|
|
|
|
extern const uint8_t |
|
|
|
|
grpc_static_metadata_elem_indices[GRPC_STATIC_MDELEM_COUNT * 2]; |
|
|
|
|