Home
last modified time | relevance | path

Searched refs:evhttp_add_header (Results 1 – 8 of 8) sorted by relevance

/external/libevent/test/
Dregress_http.c338 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()
578evhttp_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 …]
Dregress_rpc.c207 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/
Dhttp-connect.c49 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()
Dhttps-client.c434 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()
Dhttp-server.c284 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/
Dhttp.c451 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 …]
Devrpc.c485 evhttp_add_header(req->output_headers, in evrpc_request_done_closure()
/external/libevent/include/event2/
Dhttp.h884 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);