Skip to content

Commit

Permalink
missed a method delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Nov 29, 2015
1 parent ec77517 commit 4468af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Channel/HTTP.pm
Expand Up @@ -88,7 +88,7 @@ sub _headers {
$self->{offset} = 0;

# Response without body
if ($head && $self->is_empty) { $self->{state} = 'finished' }
if ($head && $self->tx->is_empty) { $self->{state} = 'finished' }

# Body
else {
Expand Down

0 comments on commit 4468af4

Please sign in to comment.