Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove content-length from headers and put it in a tag

  • Loading branch information...
commit d182b4a5be52eeefc993b0df20802b95ad5c8ad6 1 parent da7679d
@dv authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 static/index.html
View
5 static/index.html
@@ -21,6 +21,9 @@
<p>
<code class="easydate"><%- datetime %></code>
<code><%- "http/" + httpVersion %></code>
+ <% if (headers["content-length"]) { %>
+ <code><%- $$.formatSize(headers["content-length"]) %></code>
+ <% } %>
</p>
</div>
<div class="span12">
@@ -33,7 +36,6 @@
</tr>
</thead>
<tbody>
- <% _.each(_.filterKeys(headers, ["user-agent", "content-length"]), function(value, key) { %>
<% _.each($$.filterKeys(headers, ["user-agent"]), function(value, key) { %>
<tr>
<th><%- key %></th>
@@ -41,6 +43,7 @@
</tr>
<% }); %>
</tbody>
+ <tbody class=""
</table>
</div>
</div>

0 comments on commit d182b4a

Please sign in to comment.
Something went wrong with that request. Please try again.