Skip to content

support --resolve for name resolution and --cacert to specify a ca cert#221

Merged
ahl merged 2 commits into
mainfrom
resolve-and-cert
Jun 12, 2023
Merged

support --resolve for name resolution and --cacert to specify a ca cert#221
ahl merged 2 commits into
mainfrom
resolve-and-cert

Conversation

@ahl

@ahl ahl commented Jun 10, 2023

Copy link
Copy Markdown
Collaborator

Fixes #193

This adds two top-level options --resolve and --cacert both modeled after curl's eponymous options.

Note that --resolve takes a tuple of HOSTNAME:PORT:IPADDR and the PORT is actually ignored. I thought it was better to match curl approximately, but it might be better to just have HOSTNAME:IPADDR.

@ahl ahl merged commit 3ebf264 into main Jun 12, 2023
@ahl ahl deleted the resolve-and-cert branch June 12, 2023 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

want way to use CLI with TLS servers in development

1 participant