<div class="response">
  <h4>Response: <%= response.data.status %></h4>
  <% if response.data? %>
    <div class="response-example">
      <%# This is kind of fancy for no reason but whatever %>
      <% if response.data.headers %>
        <div class="title">Headers</div>
        <pre class="code hljs json"><%= JSON.pretty_generate(response.data.headers) %></pre>
      <% end %>

      <% if response.data.body %>
        <div class="panel">
          <div class="title">Body</div>
          <pre class="code hljs json"><%= JSON.pretty_generate(response.data.body) %></pre>
        </div>
      <% end %>
    </div>
  <% end %>
</div>

<div class="response">
  <h4>Response: <%= response.data.status %></h4>
  <% if response.data? %>
    <div class="response-example">
      <%# This is kind of fancy for no reason but whatever %>
      <% if response.data.headers %>
        <div class="panel">
          <div class="title">Headers</div>
          <pre class="code hljs json"><%= JSON.pretty_generate(response.data.headers) %></pre>
        </div>
      <% end %>

      <% if response.data.body %>
        <div class="panel">
          <div class="title">Body</div>
          <pre class="code hljs json"><%= JSON.pretty_generate(response.data.body) %></pre>
        </div>
      <% end %>
    </div>
  <% end %>
</div>

Fix headers panel for response view
Fix headers panel for response view
