ob-http icon indicating copy to clipboard operation
ob-http copied to clipboard

Schema, Protocol, or Scheme

Open yiufung opened this issue 7 years ago • 2 comments

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?

yiufung avatar Oct 29 '18 09:10 yiufung

You're right. Per RFC 3986, the correct term is "scheme".

ewestbrook avatar Oct 30 '18 16:10 ewestbrook

PR #39 submitted.

ewestbrook avatar Oct 30 '18 16:10 ewestbrook