lib/httpx/transcoder/json.rb in httpx-1.0.2 vs lib/httpx/transcoder/json.rb in httpx-1.1.0

- old
+ new

@@ -4,10 +4,10 @@ module HTTPX::Transcoder module JSON module_function - JSON_REGEX = %r{\bapplication/(?:vnd\.api\+)?json\b}i.freeze + JSON_REGEX = %r{\bapplication/(?:vnd\.api\+|hal\+)?json\b}i.freeze class Encoder extend Forwardable def_delegator :@raw, :to_s