mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
removing http-cookie
This commit is contained in:
parent
f7af0511fa
commit
1b068aca21
1
Gemfile
1
Gemfile
@ -35,7 +35,6 @@ group :test do
|
||||
|
||||
gem "oga"
|
||||
gem "faraday"
|
||||
gem "unf", git: "https://github.com/knu/ruby-unf.git", branch: "master"
|
||||
|
||||
if RUBY_VERSION >= "3.0"
|
||||
gem "rbs", git: "https://github.com/ruby/rbs.git", branch: "master"
|
||||
|
@ -32,6 +32,5 @@ Gem::Specification.new do |gem|
|
||||
|
||||
gem.add_runtime_dependency "http-2-next", ">= 0.1.2"
|
||||
gem.add_runtime_dependency "timers"
|
||||
gem.add_development_dependency "http-cookie", "~> 1.0"
|
||||
gem.add_development_dependency "http-form_data", ">= 2.0.0", "< 3"
|
||||
gem.add_development_dependency "http-form_data", ">= 2.0.0", "< 3"
|
||||
end
|
||||
|
@ -12,7 +12,13 @@ module HTTPX
|
||||
# https://gitlab.com/honeyryderchuck/httpx/wikis/Cookies
|
||||
#
|
||||
module Cookies
|
||||
using URIExtensions
|
||||
def self.load_dependencies(*)
|
||||
require "httpx/plugins/cookies/store"
|
||||
require "httpx/plugins/cookies/jar"
|
||||
require "httpx/plugins/cookies/cookie"
|
||||
require "httpx/plugins/cookies/domain_name"
|
||||
require "httpx/plugins/cookies/set_cookie_parser"
|
||||
end
|
||||
|
||||
def self.extra_options(options)
|
||||
Class.new(options.class) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user