lib/net/http/server/responses.rb in net-http-server-0.2.1 vs lib/net/http/server/responses.rb in net-http-server-0.2.2
- old
+ new
@@ -85,11 +85,11 @@
# Write the headers of an HTTP Response to a stream.
#
# @param [IO] stream
# The stream to write the headers back to.
#
- # @param [Hash{String => [String, Time, Array<String>}] headers
+ # @param [Hash{String => String,Time,Array<String>}] headers
# The headers of the HTTP Response.
#
def write_headers(stream,headers)
headers.each do |name,values|
case values
@@ -153,10 +153,10 @@
# The stream to write the HTTP Response to.
#
# @param [Integer] status
# The status of the HTTP Response.
#
- # @param [Hash{String => [String, Time, Array<String>}] headers
+ # @param [Hash{String => String,Time,Array<String>}] headers
# The headers of the HTTP Response.
#
# @param [#each] body
# The body of the HTTP Response.
#