Home
last modified time | relevance | path

Searched refs:headerfile (Results 1 – 9 of 9) sorted by relevance

/curl/docs/examples/
H A Dsepheaders.c43 FILE *headerfile; in main() local
62 headerfile = fopen(headerfilename, "wb"); in main()
63 if(!headerfile) { in main()
72 fclose(headerfile); in main()
77 curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, headerfile); in main()
86 fclose(headerfile); in main()
H A Dsimplessl.c54 FILE *headerfile; in main() local
76 headerfile = fopen(pHeaderFile, "wb"); in main()
84 curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile); in main()
/curl/src/
H A Dtool_cb_hdr.c120 if(per->config->headerfile && heads->stream) { in tool_header_cb()
127 per->config->headerfile); in tool_header_cb()
H A Dtool_cfgable.h79 char *headerfile; member
H A Dtool_cfgable.c67 Curl_safefree(config->headerfile); in free_config_fields()
H A Dtool_operate.c2039 if(config->headerfile) { in single_transfer()
2041 if(!strcmp(config->headerfile, "%")) { in single_transfer()
2046 else if(strcmp(config->headerfile, "-")) { in single_transfer()
2059 result = create_dir_hierarchy(config->headerfile, global); in single_transfer()
2065 newfile = fopen(config->headerfile, "wb"); in single_transfer()
2069 newfile = fopen(config->headerfile, "ab"); in single_transfer()
2072 errorf(global, "Failed to open %s", config->headerfile); in single_transfer()
2077 heads->filename = config->headerfile; in single_transfer()
H A Dtool_getparam.c1874 err = getstr(&config->headerfile, nextarg, DENY_BLANK); in getparameter()
/curl/docs/cmdline-opts/
H A Dform.md98 curl -F "submit=OK;headers=@headerfile" example.com
/curl/tests/http/testenv/
H A Dcurl.py891 def _parse_headerfile(self, headerfile: str, r: Optional[ExecResult] = None) -> ExecResult:
892 lines = open(headerfile).readlines()

Completed in 28 milliseconds