Home
last modified time | relevance | path

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

/AliOS-Things-master/components/http/example/
A Dhttp_example.c26 char * customer_header = "Accept: */*\r\n"; in http_comp_example() local
42 httpclient_set_custom_header(&client, customer_header); in http_comp_example()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c158 char *customer_header = NULL; in http_download_func() local
181 customer_header = amp_calloc(HTTP_HEADER_SIZE, 1); in http_download_func()
184 httpc_construct_header(customer_header, HTTP_HEADER_SIZE, param->http_header[i].name, in http_download_func()
190 httpclient_set_custom_header(&client, customer_header); in http_download_func()
227 if (customer_header != NULL) { in http_download_func()
228 amp_free(customer_header); in http_download_func()
265 char *customer_header = NULL; in task_http_request_func() local
286 customer_header = amp_calloc(HTTP_HEADER_SIZE, 1); in task_http_request_func()
296 httpclient_set_custom_header(&client, customer_header); in task_http_request_func()
366 if (customer_header != NULL) { in task_http_request_func()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/
A Ducloud_ai_common.c72 char *customer_header = "Accept: */*\r\n"; in ucloud_ai_init() local
79 httpclient_set_custom_header(&ai_client, customer_header); in ucloud_ai_init()
/AliOS-Things-master/components/ucamera/src/device/wifi/
A Dwifi_camera.c37 char *customer_header = "Accept: */*\r\n"; in wifi_camera_init() local
44 httpclient_set_custom_header(&wifi_camera_client, customer_header); in wifi_camera_init()
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttputility.c152 char customer_header[HTTP_HEADER_SIZE] = { 0 }; variable
232 pyamp_httpc_construct_header(customer_header, HTTP_HEADER_SIZE, in task_http_request_func()
237 httpclient_set_custom_header(&client, customer_header); in task_http_request_func()
A Dmodhttp.c176 static char customer_header[HTTP_HEADER_SIZE] = { 0 }; variable
299 pyamp_httpc_construct_header(customer_header, HTTP_HEADER_SIZE, in task_http_request_func()
304 httpclient_set_custom_header(&client, customer_header); in task_http_request_func()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c159 char customer_header[HTTP_HEADER_SIZE] = {0}; variable
232 …httpc_construct_header(customer_header, HTTP_HEADER_SIZE, param->http_header[i].name, param->http_… in task_http_request_func()
235 httpclient_set_custom_header(&client, customer_header); in task_http_request_func()
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c183 char *customer_header = "Accept: text/xml,text/javascript,text/html,application/json\r\n"; in on_fs_upload() local
184 httpclient_set_custom_header(httpc_handle, customer_header); in on_fs_upload()

Completed in 13 milliseconds