40#include <httpparser.hpp>
#define HDR_CONTENT_TYPE
Type of a HTTP header.
Structure of an HTTP message.
http_header_t * httpmsg_find_hdr(http_message_t *msg, int header_name_id, memptr *value)
Finds header from a list, with the given 'name_id'.
parse_status_t matchstr(char *str, size_t slen, const char *fmt,...)
Matches a variable parameter list with a string and takes actions based on the data type specified.
size_t length
length of memory (read-only).
char * buf
start of memory (read/write).
pointer to a chunk of memory.