<%= render partial: 'rest_framework/head' %>

<%= (@header_text if defined? @header_text) || @title %>

<% if @route_groups.values[0].any? { |r| r[:matches_path] && r[:verb] == "DELETE" } %> <% end %> <% if @route_groups.values[0].any? { |r| r[:matches_path] && r[:verb] == "OPTIONS" } %> <% end %>

              
                <%= request.method %> <%= request.path %>
              
                HTTP <%= response.status %> <%= response.message %>
Content-Type: <%= response.content_type %>
<% if @json_payload.present? || @xml_payload.present? %>
<% end %> <% if @route_groups.present? %>
<% unless raw_form_routes.empty? %> <% end %>
<% end %>