Searched defs:content_type (Results 1 - 5 of 5) sorted by relevance

/forgerock/web-agents-v4/tests/
H A Dtest_notifications.c39 static am_status_t set_custom_response(struct am_request * request, const char * data, const char * content_type) argument
/forgerock/web-agents-v4/source/
H A Dam.h251 const char *content_type; member in struct:am_request
H A Dcache.c323 int am_get_pdp_cache_entry(am_request_t *request, const char *key, char **data, size_t *data_sz, char **content_type) { argument
407 *content_type = malloc(element->size[CONTENT_TYPE_LENGTH] + 1);
408 if (*content_type != NULL) {
409 memcpy(*content_type, element->value + size, element->size[CONTENT_TYPE_LENGTH]);
410 (*content_type)[element->size[CONTENT_TYPE_LENGTH]] = '\0';
425 const char *file, const char *content_type) {
439 if (ISINVALID(key) || ISINVALID(url) || ISINVALID(file) || ISINVALID(content_type)) {
445 content_type_length = strlen(content_type);
533 mem3cpy(cache_entry_data->value, url, url_length, file, file_length, content_type, content_type_length);
424 am_add_pdp_cache_entry(am_request_t *request, const char *key, const char *url, const char *file, const char *content_type) argument
H A Dnet_client_ssl.c581 static void net_ssl_msg_callback(int writep, int version, int content_type, argument
H A Dprocess.c313 if (r->method == AM_REQUEST_POST && !ISVALID(r->content_type)) {
1872 char *data = NULL /* url\0file\0 format */, *content_type = NULL; local
1875 pdp_status = am_get_pdp_cache_entry(r, key, &data, &url_sz, &content_type);
1880 thisfunc, key, LOGEMPTY(data), LOGEMPTY(file), LOGEMPTY(content_type));
1908 r->am_set_custom_response_f(r, AM_SPACE_CHAR, content_type);
1937 content_type);
1955 r->am_set_custom_response_f(r, AM_SPACE_CHAR, content_type);
1976 AM_FREE(data, content_type);
2080 am_add_pdp_cache_entry(r, key, repost_uri, file, r->content_type);
2082 am_add_pdp_cache_entry(r, key, repost_uri, "0", r->content_type);
[all...]

Completed in 44 milliseconds