<% ["GET", "POST", "Session", "Cookies", "SERVER VARIABLES", "Rack ENV"].each do |header| next unless sections.has_key?(header) %>

<%=header%>

<% i = 1 %> <% sections[header].each do |key, val| %> "> <% i += 1 %> <% end %>
Variable Value
<%=h key %>
<%=h val%>
<% end %>