mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-31 20:00:24 +00:00
parent
550f3a0088
commit
9fa1d732f7
2 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ const CONNECT_TIMEOUT: u64 = 10;
|
|||
/// TCP keepalive.
|
||||
///
|
||||
/// See <https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html> for more
|
||||
/// infomation.
|
||||
/// information.
|
||||
const TCP_KEEPALIVE: u64 = 60;
|
||||
|
||||
/// Builder for [`Client`].
|
||||
|
|
@ -254,7 +254,7 @@ pub struct ClientBuilder {
|
|||
|
||||
/// When `true`, requires using HTTPS when it's available.
|
||||
///
|
||||
/// This would treat unencrypted links as errors when HTTPS is avaliable.
|
||||
/// This would treat unencrypted links as errors when HTTPS is available.
|
||||
/// It has no effect on non-HTTP schemes or if the URL doesn't support
|
||||
/// HTTPS.
|
||||
require_https: bool,
|
||||
|
|
@ -398,7 +398,7 @@ pub struct Client {
|
|||
|
||||
/// Requires using HTTPS when it's available.
|
||||
///
|
||||
/// This would treat unencrypted links as errors when HTTPS is avaliable.
|
||||
/// This would treat unencrypted links as errors when HTTPS is available.
|
||||
require_https: bool,
|
||||
|
||||
/// Override behaviors for certain known issues with special URIs.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
// Notes on terminology:
|
||||
// The major difference between URI (Uniform Resource Identifier) and
|
||||
// URL (Uniform Resource Locator) is that the former is an indentifier for
|
||||
// URL (Uniform Resource Locator) is that the former is an identifier for
|
||||
// resources and the latter is a locator.
|
||||
// We are not interested in differentiating resources by names and the purpose of
|
||||
// remapping is to provide an alternative **location** in certain
|
||||
|
|
|
|||
Loading…
Reference in a new issue