完成cache参数解析部分的编码。
This commit is contained in:
@@ -315,6 +315,13 @@ static inline const char * tfe_http_std_field_read(const struct tfe_http_half *
|
||||
tmp_name.field_name=NULL;
|
||||
return tfe_http_field_read(half, &tmp_name);
|
||||
}
|
||||
static inline const char * tfe_http_nonstd_field_read(const struct tfe_http_half * half, const char* field)
|
||||
{
|
||||
struct http_field_name tmp_name;
|
||||
tmp_name.field_id=TFE_HTTP_UNKNOWN_FIELD;
|
||||
tmp_name.field_name=field;
|
||||
return tfe_http_field_read(half, &tmp_name);
|
||||
}
|
||||
|
||||
static inline int tfe_http_field_write(struct tfe_http_half * half,
|
||||
const struct http_field_name * name, const char * value)
|
||||
|
||||
Reference in New Issue
Block a user