Sha256: 580d366fea2140d80991725707f75d28cf4fd9f053fb623f034195d8cca0df1a
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
<!doctype html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><?attr title ?></title> <meta name="description" content="Ruby-Mongrel2 request introspection handler"> <meta name="author" content="Michael Granger"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/css/master.css" type="text/css" media="screen" title="no title" charset="utf-8" /> </head> <body> <header> <h1>Request Dump (0x<?call "%0x" % request.object_id ?>)</h1> </header> <section id="dump"> <table> <tr> <th>Sender ID</th> <td><?escape request.sender_id ?></td> </tr> <tr> <th>Connection ID</th> <td><?escape request.conn_id.to_s ?></td> </tr> <tr> <th>$SAFE</th> <td><?attr safelevel ?></td> </tr> </table> <section id="headers"> <header> <h1>Headers</h1> </header> <table> <?for name, val in request.headers.each_header.each ?> <tr> <th><?attr name ?></th> <td><?attr val ?></td> </tr> <?end for ?> </table> </section> <section id="body"> <header> <h1>Body</h1> </header> <p><code><?escape request.body.inspect ?></code> (<?call "%0.2fKb" % request.body.size ?>, <?call request.body.external_encoding.name ?>)</p> </section> <section id="inspect"> <header> <h1>Inspected Request</h1> <pre> <?pp request ?> </pre> </header> </section> </section> <footer> <p><tt>$Id: request-dumper.tmpl,v dae4f2b16ef7 2012/06/20 17:48:00 ged $</tt></p> </footer> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongrel2-0.48.0 | examples/request-dumper.tmpl |
mongrel2-0.47.0 | examples/request-dumper.tmpl |