Skip to content

Commit

Permalink
test for the absence of headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Kopetz committed Apr 16, 2014
1 parent 5141a20 commit 496ed9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neography/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def merge_options(options)
log path, query_body do
headers = merge_options(options)[:headers]
evaluate_response(@client.send(action.to_sym, query_path, query_body, headers),
path, query_body, headers['X-Stream'] == true)
path, query_body, headers && (headers['X-Stream'] == true))
end
end
end
Expand Down

0 comments on commit 496ed9c

Please sign in to comment.