Skip to content

Instantly share code, notes, and snippets.

@seancribbs
Created January 19, 2010 20:37
Show Gist options
  • Save seancribbs/281270 to your computer and use it in GitHub Desktop.
Save seancribbs/281270 to your computer and use it in GitHub Desktop.
$ curl -v http://localhost:8098/raw/foo/bar/_,next,_/_,previous,1
* About to connect() to localhost port 8098 (#0)
* Trying ::1... Connection refused
* Trying fe80::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8098 (#0)
> GET /raw/foo/bar/_,next,_/_,previous,1 HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: localhost:8098
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Server: MochiWeb/1.1 WebMachine/1.5.2 (that tip is the fix)
< Expires: Tue, 19 Jan 2010 20:47:49 GMT
< Date: Tue, 19 Jan 2010 20:38:04 GMT
< Content-Type: text/html
< Content-Length: 739
<
<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,{error,{badmatch,{error,timeout}},
[{raw_link_walker_resource,execute_segment,3},
{raw_link_walker_resource,execute_query,3},
{raw_link_walker_resource,to_multipart_mixed,2},
{webmachine_resource,resource_call,3},
{webmachine_resource,do,3},
{webmachine_decision_core,resource_call,1},
{webmachine_decision_core,decision,1},
* Connection #0 to host localhost left intact
* Closing connection #0
{webmachine_decision_core,handle_request,2}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment