lib/httpx/headers.rb in httpx-0.8.0 vs lib/httpx/headers.rb in httpx-0.8.1
- old
+ new
@@ -65,10 +65,10 @@
# returns the comma-separated values of the header field
# identified by +field+, or nil otherwise.
#
def [](field)
a = @headers[downcased(field)] || return
- a.join(",")
+ a.join(", ")
end
# sets +value+ (if not nil) as single value for the +field+ header.
#
def []=(field, value)