mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-27 00:03:01 -05:00
enforce the nneed for the response body class to be a subclass of the response body
This commit is contained in:
parent
ec8d400081
commit
f8877df2e1
@ -34,7 +34,7 @@ module Requests
|
||||
|
||||
def test_http_response_buffer_to_custom
|
||||
uri = build_uri("/")
|
||||
custom_body = Class.new do
|
||||
custom_body = Class.new(HTTPX::Response::Body) do
|
||||
attr_reader :file
|
||||
|
||||
def initialize(_response, **)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user