54 (
NULL != strchr (content,
'\t')) ||
55 (
NULL != strchr (content,
'\r')) ||
56 (
NULL != strchr (content,
'\n')) )
65 if (
NULL == (hdr->
value = strdup (content)))
181 (0 == strcmp (content,
215 unsigned int numHeaders = 0;
223 if ( (
NULL != iterator) &&
224 (
MHD_YES != iterator (iterator_cls,
enum MHD_Result(* MHD_KeyValueIterator)(void *cls, enum MHD_ValueKind kind, const char *key, const char *value)
const char * MHD_response_get_header(struct MHD_Response *response, const char *key)
enum MHD_Bool MHD_response_add_trailer(struct MHD_Response *response, const char *footer, const char *content)
void MHD_response_queue_for_destroy(struct MHD_Response *response)
unsigned int MHD_response_get_headers(struct MHD_Response *response, MHD_KeyValueIterator iterator, void *iterator_cls)
enum MHD_Bool MHD_response_add_header(struct MHD_Response *response, const char *header, const char *content)
enum MHD_Bool MHD_response_del_header(struct MHD_Response *response, const char *header, const char *content)
#define MHD_mutex_unlock_chk_(pmutex)
#define MHD_mutex_destroy_chk_(pmutex)
#define MHD_mutex_lock_chk_(pmutex)
int MHD_str_equal_caseless_(const char *str1, const char *str2)
static bool add_response_entry(struct MHD_Response *response, enum MHD_ValueKind kind, const char *header, const char *content)
MHD internal shared structures.
MHD_ContentReaderFreeCallback crfc
struct MHD_HTTP_Header * first_header
unsigned int reference_count