GET /uploader/uploads HTTP/1.1 Host: 129.145.132.100:8080 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://129.145.132.100:8080/uploader/uploads Cookie: _uploader_session=BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7ADoMY3NyZl9pZCIlNzZlNDQzMTdjMmQxYTI4NjRi%0AMmVhMzE1ZjJmYmY3NzI%3D--de7a3c3bf35e3f7214d29620eb3036205be2825c HTTP/1.1 200 OK Date: Thu, 11 Sep 2008 20:55:19 GMT Server: Grizzly/1.7 Connection: close Content-Type: text/html; charset=utf-8 Cache-Control: private, max-age=0, must-revalidate Status: 200 OK X-Runtime: 0.06408 ETag: "94344eb2a234192fb946ff948f646598" Content-Length: 2319 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title>Uploads: index</title> <link href="/uploader/stylesheets/scaffold.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body> <p style="color: green"></p> <h1>Listing uploads</h1> <table> <tr> <th>Filename</th> <th>Content type</th> <th>Size</th> </tr> <tr> <td>Rakefile</td> <td>application/octet-stream</td> <td>307</td> <td><a href="/uploader/uploads/3">Show</a></td> <td><a href="/uploader/uploads/3/edit">Edit</a></td> <td><a href="/uploader/uploads/3" onclick="if (confirm('Are you sure?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href;var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', '_method'); m.setAttribute('value', 'delete'); f.appendChild(m);var s = document.createElement('input'); s.setAttribute('type', 'hidden'); s.setAttribute('name', 'authenticity_token'); s.setAttribute('value', 'ebf26af08aaa2f48c9e393c15601347a072f2ef9'); f.appendChild(s);f.submit(); };return false;">Destroy</a></td> </tr> <tr> <td>Foo</td> <td>application/octet-stream</td> <td>4</td> <td><a href="/uploader/uploads/15">Show</a></td> <td><a href="/uploader/uploads/15/edit">Edit</a></td> <td><a href="/uploader/uploads/15" onclick="if (confirm('Are you sure?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href;var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', '_method'); m.setAttribute('value', 'delete'); f.appendChild(m);var s = document.createElement('input'); s.setAttribute('type', 'hidden'); s.setAttribute('name', 'authenticity_token'); s.setAttribute('value', 'ebf26af08aaa2f48c9e393c15601347a072f2ef9'); f.appendChild(s);f.submit(); };return false;">Destroy</a></td> </tr> </table> <br /> <a href="/uploader/uploads/new">New upload</a> </body> </html> HTTP/1.1 200 OK Content-Type: text/html; charset=iso-8859-1 Transfer-Encoding: chunked Date: Thu, 11 Sep 2008 20:55:19 GMT