Searched refs:evhttp_add_header (Results 1 – 8 of 8) sorted by relevance
/external/libevent/test/ |
D | regress_http.c | 338 evhttp_add_header(evhttp_request_get_output_headers(req), in http_basic_cb() 406 evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Length", "39"); in http_chunked_cb() 578 …evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Type", "text/xml; charset=UTF-8… in http_badreq_cb() 1068 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1086 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1093 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_test_() 1108 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in http_connection_test_() 1176 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1194 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1200 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_async_test() [all …]
|
D | regress_rpc.c | 207 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_test() 280 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_message() 402 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header() 404 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header() 434 evhttp_add_header(req->input_headers, "X-Pool-Hook", "ran"); in rpc_hook_remove_header()
|
/external/libevent/sample/ |
D | http-connect.c | 49 evhttp_add_header(req->output_headers, "Connection", "close"); in connect_cb() 104 evhttp_add_header(req->output_headers, "Connection", "keep-alive"); in main() 105 evhttp_add_header(req->output_headers, "Proxy-Connection", "keep-alive"); in main()
|
D | https-client.c | 434 evhttp_add_header(output_headers, "Host", host); in main() 435 evhttp_add_header(output_headers, "Connection", "close"); in main() 457 evhttp_add_header(output_headers, "Content-Length", buf); in main()
|
D | http-server.c | 284 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb() 301 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb()
|
/external/libevent/ |
D | http.c | 451 evhttp_add_header(req->output_headers, "Content-Length", size); in evhttp_make_header_request() 494 evhttp_add_header(headers, "Date", date); in evhttp_maybe_add_date_header() 510 evhttp_add_header(headers, "Content-Length", len); in evhttp_maybe_add_content_length_header() 537 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 558 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 568 evhttp_add_header(req->output_headers, "Connection", "close"); in evhttp_make_header_response() 1922 evhttp_add_header(struct evkeyvalq *headers, in evhttp_add_header() function 2093 if (evhttp_add_header(headers, skey, svalue) == -1) in evhttp_parse_headers_() 2831 evhttp_add_header(req->output_headers, "Transfer-Encoding", in evhttp_send_reply_start() 3021 evhttp_add_header(req->output_headers, "Content-Type", "text/html"); in evhttp_send_page_() [all …]
|
D | evrpc.c | 485 evhttp_add_header(req->output_headers, in evrpc_request_done_closure()
|
/external/libevent/include/event2/ |
D | http.h | 884 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);
|