app/views/http_log/requests/show.html.erb
<div class="page-header">
<h1>HTTP Request: <%= @log.id %></h1>
</div>
<table id="summary" class="table table-bordered table-striped">
<tbody>
<tr>
<th>URL</th>
<td><%= @log.url %></td>
</tr>
<tr>
<th>Method</th>
<td><%= @log.http_method.upcase %></td>
</tr>
<tr>
<th>Received</th>
<td><%= @log.created_at %></td>
</tr>
<tr>
<th>From</th>
<td><%= @log.remote_ip %></td>
</tr>
<tr>
<th>User Agent</th>
<td><%= @log.user_agent %></td>
</tr>
<tr id="content-type">
<th>Content-Type</th>
<td><%= @log.content_type %></td>
</tr>
<tr id="accepts">
<th>Accept</th>
<td><%= @log.accept %></td>
</tr>
</tbody>
</table>
<div class="page-header">
<h2>Parameters</h2>
</div>
<pre id="parameters" class="pretty-print">
<%= @log.params.inspect %>
</pre>
<div class="page-header">
<h2>Headers</h2>
</div>
<table id="headers" class="table table-bordered table-striped">
<% @log.headers.each do |name, value| %>
<tr>
<th><%= name %></th>
<td><%= value %></th>
</tr>
<% end %>
</table>
<div class="page-header">
<h2>Raw Post</h2>
</div>
<pre id="raw-post" class="table table-bordered table-striped">
<%= @log.raw_post %>
</pre>
<div class="page-header">
<h2>Cookies</h2>
</div>
<pre id="cookies" class="table table-bordered table-striped">
<%= @log.cookies %>
</pre>