mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-09-14 00:00:44 -04:00
added regexp extensions where using match?
This commit is contained in:
parent
2a5c429dbd
commit
c7f177adbb
@ -5,6 +5,8 @@ require "delegate"
|
||||
|
||||
module HTTPX::Plugins
|
||||
module Multipart
|
||||
using HTTPX::RegexpExtensions unless Regexp.method_defined?(:match?)
|
||||
|
||||
CRLF = "\r\n"
|
||||
|
||||
class FilePart < SimpleDelegator
|
||||
|
@ -4,6 +4,8 @@ module HTTPX
|
||||
module Transcoder
|
||||
extend Registry
|
||||
|
||||
using RegexpExtensions unless Regexp.method_defined?(:match?)
|
||||
|
||||
module_function
|
||||
|
||||
def normalize_keys(key, value, cond = nil, &block)
|
||||
|
Loading…
x
Reference in New Issue
Block a user