mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-07 00:05:02 -04:00
remove unreachable code (@response never set)
This commit is contained in:
parent
c150bd1341
commit
55c71e2b80
@ -11,8 +11,6 @@ module HTTPX
|
||||
def each(&block)
|
||||
return enum_for(__method__) unless block
|
||||
|
||||
raise Error, "response already streamed" if @response
|
||||
|
||||
@request.stream = self
|
||||
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user