aboutsummaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-06-06 22:42:17 -0400
committerBen Burwell <ben@benburwell.com>2020-06-06 22:42:17 -0400
commit90a1b857f3fddf5cf1a25b73d6bdbe6c40471076 (patch)
treeede079475cf651a8eee26327e361fe6ddc36233f /lib/setopt.c
parentc365f2cb4ffcbef02d2e9a5e17aa9d7f1fe81df7 (diff)
WIP: Add support for gemini meta headersgemini-meta
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 4570cc06a..80332a510 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2831,6 +2831,9 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
return result;
break;
#endif
+ case CURLOPT_META:
+ result = Curl_setstropt(&data->set.gemini_meta, va_arg(param, char *));
+ break;
default:
/* unknown tag and its companion, just ignore: */
result = CURLE_UNKNOWN_OPTION;