From 9b3691b2bc0cccf0fb5f605c6f41c0fa2fd90406 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Fri, 24 Nov 2023 13:57:47 +0100 Subject: [PATCH] Update a bunch of links Fix 404s, avoid redirects --- README.md | 2 +- httpx.gemspec | 4 ++-- lib/httpx/altsvc.rb | 2 +- lib/httpx/plugins/aws_sigv4.rb | 4 ++-- lib/httpx/plugins/basic_auth.rb | 2 +- lib/httpx/plugins/digest_auth.rb | 2 +- lib/httpx/plugins/h2c.rb | 4 ++-- lib/httpx/plugins/rate_limiter.rb | 2 +- lib/httpx/plugins/stream.rb | 2 +- lib/httpx/plugins/upgrade.rb | 2 +- lib/httpx/plugins/upgrade/h2.rb | 2 +- lib/httpx/plugins/webdav.rb | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c4ce3312..236a6588 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ http.post("https://example2.com", form: {name: "John", age: "22"}) # same, plus It ships with most features published as a plugin, making vanilla `httpx` lightweight and dependency-free, while allowing you to "pay for what you use" -The plugin system is similar to the ones used by [sequel](https://github.com/jeremyevans/sequel), [roda](https://github.com/jeremyevans/roda) or [shrine](https://github.com/janko-m/shrine). +The plugin system is similar to the ones used by [sequel](https://github.com/jeremyevans/sequel), [roda](https://github.com/jeremyevans/roda) or [shrine](https://github.com/shrinerb/shrine). ### Advanced DNS features diff --git a/httpx.gemspec b/httpx.gemspec index 52844ade..06c2c1b4 100644 --- a/httpx.gemspec +++ b/httpx.gemspec @@ -20,8 +20,8 @@ Gem::Specification.new do |gem| gem.metadata = { "bug_tracker_uri" => "https://gitlab.com/os85/httpx/issues", - "changelog_uri" => "https://os85.gitlab.io/httpx/#release-notes", - "documentation_uri" => "https://os85.gitlab.io/httpx/rdoc/", + "changelog_uri" => "https://honeyryderchuck.gitlab.io/httpx/#release-notes", + "documentation_uri" => "https://honeyryderchuck.gitlab.io/httpx/rdoc/", "source_code_uri" => "https://gitlab.com/os85/httpx", "homepage_uri" => "https://honeyryderchuck.gitlab.io/httpx/", "rubygems_mfa_required" => "true", diff --git a/lib/httpx/altsvc.rb b/lib/httpx/altsvc.rb index efbae2b2..c718022a 100644 --- a/lib/httpx/altsvc.rb +++ b/lib/httpx/altsvc.rb @@ -46,7 +46,7 @@ module HTTPX altsvc = response.headers["alt-svc"] - # https://tools.ietf.org/html/rfc7838#section-3 + # https://datatracker.ietf.org/doc/html/rfc7838#section-3 # A field value containing the special value "clear" indicates that the # origin requests all alternatives for that origin to be invalidated # (including those specified in the same response, in case of an diff --git a/lib/httpx/plugins/aws_sigv4.rb b/lib/httpx/plugins/aws_sigv4.rb index 4db88995..0136c997 100644 --- a/lib/httpx/plugins/aws_sigv4.rb +++ b/lib/httpx/plugins/aws_sigv4.rb @@ -5,7 +5,7 @@ module HTTPX # # This plugin adds AWS Sigv4 authentication. # - # https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html + # https://docs.aws.amazon.com/IAM/latest/UserGuide/signing-elements.html # # https://gitlab.com/os85/httpx/wikis/AWS-SigV4 # @@ -185,7 +185,7 @@ module HTTPX def canonical_query params = query.split("&") # params = params.map { |p| p.match(/=/) ? p : p + '=' } - # From: https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html + # From: https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#create-canonical-request # Sort the parameter names by character code point in ascending order. # Parameters with duplicate names should be sorted by value. # diff --git a/lib/httpx/plugins/basic_auth.rb b/lib/httpx/plugins/basic_auth.rb index e68a5ecf..1fdadb19 100644 --- a/lib/httpx/plugins/basic_auth.rb +++ b/lib/httpx/plugins/basic_auth.rb @@ -3,7 +3,7 @@ module HTTPX module Plugins # - # This plugin adds helper methods to implement HTTP Basic Auth (https://tools.ietf.org/html/rfc7617) + # This plugin adds helper methods to implement HTTP Basic Auth (https://datatracker.ietf.org/doc/html/rfc7617) # # https://gitlab.com/os85/httpx/wikis/Auth#basic-auth # diff --git a/lib/httpx/plugins/digest_auth.rb b/lib/httpx/plugins/digest_auth.rb index 4038069b..c844f576 100644 --- a/lib/httpx/plugins/digest_auth.rb +++ b/lib/httpx/plugins/digest_auth.rb @@ -3,7 +3,7 @@ module HTTPX module Plugins # - # This plugin adds helper methods to implement HTTP Digest Auth (https://tools.ietf.org/html/rfc7616) + # This plugin adds helper methods to implement HTTP Digest Auth (https://datatracker.ietf.org/doc/html/rfc7616) # # https://gitlab.com/os85/httpx/wikis/Auth#digest-auth # diff --git a/lib/httpx/plugins/h2c.rb b/lib/httpx/plugins/h2c.rb index 3f17a589..2d5470e1 100644 --- a/lib/httpx/plugins/h2c.rb +++ b/lib/httpx/plugins/h2c.rb @@ -4,9 +4,9 @@ module HTTPX module Plugins # # This plugin adds support for upgrading a plaintext HTTP/1.1 connection to HTTP/2 - # (https://tools.ietf.org/html/rfc7540#section-3.2) + # (https://datatracker.ietf.org/doc/html/rfc7540#section-3.2) # - # https://gitlab.com/os85/httpx/wikis/Upgrade#h2c + # https://gitlab.com/os85/httpx/wikis/Connection-Upgrade#h2c # module H2C VALID_H2C_VERBS = %w[GET OPTIONS HEAD].freeze diff --git a/lib/httpx/plugins/rate_limiter.rb b/lib/httpx/plugins/rate_limiter.rb index 0ce81328..9f9aeeea 100644 --- a/lib/httpx/plugins/rate_limiter.rb +++ b/lib/httpx/plugins/rate_limiter.rb @@ -9,7 +9,7 @@ module HTTPX # * when the server is unavailable (503); # * when a 3xx request comes with a "retry-after" value # - # https://gitlab.com/os85/httpx/wikis/RateLimiter + # https://gitlab.com/os85/httpx/wikis/Rate-Limiter # module RateLimiter class << self diff --git a/lib/httpx/plugins/stream.rb b/lib/httpx/plugins/stream.rb index e82c4389..fd379cc2 100644 --- a/lib/httpx/plugins/stream.rb +++ b/lib/httpx/plugins/stream.rb @@ -83,7 +83,7 @@ module HTTPX # # This plugin adds support for stream response (text/event-stream). # - # https://gitlab.com/honeyryderchuck/httpx/wikis/Stream + # https://gitlab.com/os85/httpx/wikis/Stream # module Stream def self.extra_options(options) diff --git a/lib/httpx/plugins/upgrade.rb b/lib/httpx/plugins/upgrade.rb index 76d2da94..0c1643d4 100644 --- a/lib/httpx/plugins/upgrade.rb +++ b/lib/httpx/plugins/upgrade.rb @@ -6,7 +6,7 @@ module HTTPX # This plugin helps negotiating a new protocol from an HTTP/1.1 connection, via the # Upgrade header. # - # https://gitlab.com/honeyryderchuck/httpx/wikis/Upgrade + # https://gitlab.com/os85/httpx/wikis/Upgrade # module Upgrade class << self diff --git a/lib/httpx/plugins/upgrade/h2.rb b/lib/httpx/plugins/upgrade/h2.rb index c64e66ee..81b17c31 100644 --- a/lib/httpx/plugins/upgrade/h2.rb +++ b/lib/httpx/plugins/upgrade/h2.rb @@ -6,7 +6,7 @@ module HTTPX # This plugin adds support for upgrading an HTTP/1.1 connection to HTTP/2 # via an Upgrade: h2 response declaration # - # https://gitlab.com/honeyryderchuck/httpx/wikis/Upgrade#h2 + # https://gitlab.com/os85/httpx/wikis/Connection-Upgrade#h2 # module H2 class << self diff --git a/lib/httpx/plugins/webdav.rb b/lib/httpx/plugins/webdav.rb index ded8ef88..3a1679ba 100644 --- a/lib/httpx/plugins/webdav.rb +++ b/lib/httpx/plugins/webdav.rb @@ -5,7 +5,7 @@ module HTTPX # # This plugin implements convenience methods for performing WEBDAV requests. # - # https://gitlab.com/honeyryderchuck/httpx/wikis/WEBDAV + # https://gitlab.com/os85/httpx/wikis/WebDav # module WebDav module InstanceMethods