lib/httpx/plugins/cookies/set_cookie_parser.rb in httpx-0.24.7 vs lib/httpx/plugins/cookies/set_cookie_parser.rb in httpx-1.0.0
- old
+ new
@@ -4,11 +4,9 @@
require "time"
module HTTPX
module Plugins::Cookies
module SetCookieParser
- using(RegexpExtensions) unless Regexp.method_defined?(:match?)
-
# Whitespace.
RE_WSP = /[ \t]+/.freeze
# A pattern that matches a cookie name or attribute name which may
# be empty, capturing trailing whitespace.