I wish to submit request to https website with :host option, but it's default to http, so I figured how to change it. Looking at the source code, found that it's called schema here. Changed and works fine.
It seems a bit confusing here: curl manual (7.61.1) mainly uses protocol, and mentions a bit about scheme, but not schema. Shall we change it to a clearer term, or add docs for it?
I wish to submit request to https website with
:hostoption, but it's default tohttp, so I figured how to change it. Looking at the source code, found that it's calledschemahere. Changed and works fine.It seems a bit confusing here:
curlmanual (7.61.1) mainly usesprotocol, and mentions a bit aboutscheme, but notschema. Shall we change it to a clearer term, or add docs for it?