mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-06 00:02:08 -04:00
Update a bunch of links
Fix 404s, avoid redirects
This commit is contained in:
parent
1c64a31ac8
commit
9b3691b2bc
@ -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
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user