aboutsummaryrefslogtreecommitdiff
tag namev0.1.9 (a7dcb667f7fc30593b9fa48c39eb4c3212f08211)
tag date2020-12-17 00:51:39 -0500
tagged byAdnan Maolood <[email protected]>
tagged objectcommit 611a7d54c0...
downloadgo-gemini-0.1.9.tar.xz
go-gemini-0.1.9.zip
Version 0.1.9
Version 0.1.9 brings some bug fixes and improvements. Clients are now safe for concurrent use. Requests must now be provided with a Context. The NewRequest and NewRequestFromURL functions will use the background context. A custom context can be specified by setting the Context property of Request. Request URLs without a scheme will no longer be treated as if they had a scheme of gemini. KnownHosts and CertificateStore internals are now exposed. The structs KnownHostsFile and CertificateDir have been added and all file system storage functionality has been moved to them. CertificateDir will also escape forward slashes in certificate scopes to enable proper storage of client-side certificates. Queries in input requests will now be properly escaped. The functions QueryEscape and QueryUnescape have been provided to facilitate the proper encoding and decoding of queries.