each_header()
Instance Public methods
Iterates through the header names and values, passing in the name and value to the code block supplied.
Example:
1 | response.header.each_header {|key,value| puts "#{key} = #{value}" } |
Iterates through the header names and values, passing in the name and value to the code block supplied.
Example:
1 | response.header.each_header {|key,value| puts "#{key} = #{value}" } |
Designed by : w10schools
service@w10schools.com
Please login to continue.