aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-05-21 15:00:11 -0400
committerBen Burwell <ben@benburwell.com>2020-06-16 20:30:15 -0400
commitd8c87b67316fa87fdb9bd5c8b6b1d3291d9ebc9f (patch)
tree11fa34fa971880d47df6e8bfbf98bb3796ff0025 /src/tool_paramhlp.c
parent477a4e31d724a9e14f92092c3d2ec8e486b99403 (diff)
Add gemini protocol supportHEADmaster
The gemini protocol's "speculative specification" is documented at the following URLs: https://gemini.circumlunar.space/docs/spec-spec.txt gopher://gemini.circumlunar.space/1/docs/spec-spec.txt gemini://gemini.circumlunar.space/docs/spec-spec.txt This patch introduces preliminary support for version 0.11.0 of the specification, as of March 1st 2020.
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index c375bcc82..f6be25a52 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -335,6 +335,7 @@ long proto2num(struct OperationConfig *config, long *val, const char *str)
{ "smtp", CURLPROTO_SMTP },
{ "smtps", CURLPROTO_SMTPS },
{ "rtsp", CURLPROTO_RTSP },
+ { "gemini", CURLPROTO_GEMINI },
{ "gopher", CURLPROTO_GOPHER },
{ "smb", CURLPROTO_SMB },
{ "smbs", CURLPROTO_SMBS },