added extra space in comma headers

This commit is contained in:
HoneyryderChuck 2018-01-09 21:41:41 +00:00
parent d7fd96763e
commit 25925f95e6

View File

@ -95,7 +95,7 @@ module HTTPX
def each
return enum_for(__method__) { @headers.size } unless block_given?
@headers.each do |field, value|
yield(field, value.join(",")) unless value.empty?
yield(field, value.join(", ")) unless value.empty?
end
end