Home
last modified time | relevance | path

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

/minix/external/bsd/libevent/dist/test/
H A Dregress_http.c285 evhttp_add_header(evhttp_request_get_output_headers(req), in http_basic_cb()
894 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in _http_connection_test()
1002 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in http_connection_async_test()
1108 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in http_cancel_test()
1226 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "foo.com"); in http_virtual_host_test()
1901 tt_want(evhttp_add_header(&headers, "One", "Two") == 0); in http_bad_header_test()
1902 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0); in http_bad_header_test()
1903 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1); in http_bad_header_test()
1904 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1); in http_bad_header_test()
1905 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1); in http_bad_header_test()
[all …]
H A Dregress_rpc.c210 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_test()
283 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_message()
405 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header()
407 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
437 evhttp_add_header(req->input_headers, "X-Pool-Hook", "ran"); in rpc_hook_remove_header()
/minix/external/bsd/libevent/dist/sample/
H A Dhttp-server.c272 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb()
289 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb()
/minix/external/bsd/libevent/dist/
H A Dhttp.c467 evhttp_add_header(req->output_headers, "Content-Length", size); in evhttp_make_header_request()
515 evhttp_add_header(headers, "Date", date); in evhttp_maybe_add_date_header()
531 evhttp_add_header(headers, "Content-Length", len); in evhttp_maybe_add_content_length_header()
558 evhttp_add_header(req->output_headers, in evhttp_make_header_response()
578 evhttp_add_header(req->output_headers, in evhttp_make_header_response()
587 evhttp_add_header(req->output_headers, "Connection", "close"); in evhttp_make_header_response()
1669 evhttp_add_header(struct evkeyvalq *headers, in evhttp_add_header() function
1832 if (evhttp_add_header(headers, skey, svalue) == -1) in evhttp_parse_headers()
2456 evhttp_add_header(req->output_headers, "Transfer-Encoding", in evhttp_send_reply_start()
2640 evhttp_add_header(req->output_headers, "Content-Type", "text/html"); in evhttp_send_page()
[all …]
H A Devrpc.c490 evhttp_add_header(req->output_headers, in evrpc_request_done_closure()
/minix/external/bsd/libevent/dist/include/event2/
H A Dhttp.h588 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);