Skip to content

Instantly share code, notes, and snippets.

@ecarnevale
Created October 12, 2009 14:01
Show Gist options
  • Select an option

  • Save ecarnevale/208401 to your computer and use it in GitHub Desktop.

Select an option

Save ecarnevale/208401 to your computer and use it in GitHub Desktop.
curl -i -H "Content-type: application/json" -H "Accept: application/json" -X POST -d '{"link"="http://docs.jquery.com/Utilities/jQuery.each"}' http://svel.to/links
HTTP/1.1 500 Internal Server Error
Date: Mon, 12 Oct 2009 14:00:27 GMT
Server: Apache/2.2.9 (Ubuntu) Phusion_Passenger/2.2.4
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.4
Status: 500
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
<!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>We're sorry, but something went wrong (500)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head>
<body>
<!-- This file lives in public/500.html -->
<div class="dialog">
<h1>We're sorry, but something went wrong.</h1>
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment