lib/httpx/headers.rb in httpx-0.6.1 vs lib/httpx/headers.rb in httpx-0.6.2
- old
+ new
@@ -149,12 +149,12 @@
private
def array_value(value)
case value
when Array
- value.map { |val| String(val) }
+ value.map { |val| String(val).strip }
else
- [String(value)]
+ [String(value).strip]
end
end
def downcased(field)
String(field).downcase