HomeSort by relevance Sort by last modified time
    Searched refs:resp_headers (Results 1 - 3 of 3) sorted by null

  /external/libmicrohttpd/src/examples/
spdy_fileserver.c 164 struct SPDY_NameValue *resp_headers; local
189 if(NULL == (resp_headers = SPDY_name_value_create()))
197 || SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_DATE,date))
205 || SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_CONTENT_LENGTH,fsize))
213 if(SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_CONTENT_TYPE,mime))
220 if(SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_SERVER,"libmicrospdy/fileserver"))
227 SPDY_HTTP_VERSION_1_1,resp_headers,&response_callback,fd,SPDY_MAX_SUPPORTED_FRAME_SIZE);
228 SPDY_name_value_destroy(resp_headers);
spdy_response_with_callback.c 99 struct SPDY_NameValue *resp_headers; local
106 if(NULL == (resp_headers = SPDY_name_value_create()))
111 if(SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_CONTENT_TYPE,"text/plain"))
118 SPDY_HTTP_VERSION_1_1,resp_headers,&response_callback,fd,SPDY_MAX_SUPPORTED_FRAME_SIZE);
119 SPDY_name_value_destroy(resp_headers);
  /external/libmicrohttpd/src/testspdy/
test_request_response_with_callback.c 128 struct SPDY_NameValue *resp_headers; local
134 if(NULL == (resp_headers = SPDY_name_value_create()))
139 if(SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_CONTENT_TYPE,"text/plain"))
146 SPDY_HTTP_VERSION_1_1,resp_headers,&response_callback,fd,SPDY_MAX_SUPPORTED_FRAME_SIZE);
147 SPDY_name_value_destroy(resp_headers);

Completed in 75 milliseconds