Skip to content
Snippets Groups Projects
Commit 085d29fb authored by Anton Wuerfel's avatar Anton Wuerfel
Browse files

Extending internal CURL wrapper for POST upload


This commit adds POST upload capabilities to the internal libcurl wrapper, which
are necessary for uploading RFC3161 Time Stamping Queries to a Time Stamping
Authority.

Therefore, the internal struct http_get_options is renamed to
http_request_options and extended by 2 strbuf fields named `postfields` and
`post_content_type`. If either one of them is non-NULL, the corresponding
curl_easy_setopt() functions are called.

Signed-off-by: default avatarAnton Würfel <anton.wuerfel@fau.de>
Signed-off-by: default avatarPhillip Raffeck <phillip.raffeck@fau.de>
parent 01c696c9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment