Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created January 21, 2010 21:27
Show Gist options
  • Select an option

  • Save dysinger/283217 to your computer and use it in GitHub Desktop.

Select an option

Save dysinger/283217 to your computer and use it in GitHub Desktop.
tim@r2d2:~$ curl -X PUT -H "Content-Type: video/x-msvideo" http://192.168.0.194:8098/raw/battlestar/episode1.avi --data-binary @/media/Clone/Users/tim/Movies/battlestar\ galactica/Season\ 1/\[1x01\]\ Thirty\ Three.avi
<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,enomem}},
[{webmachine_request,recv_unchunked_body,4},
{webmachine_request,do_recv_body,2},
{webmachine_request,call,2},
{wrq,req_body,1},
{raw_http_resource,accept_doc_body,2},
{webmachine_resource,resource_call,3},
{webmachine_resource,do,3},
curl: (55) select/poll returned error
{webmachine_decision_core,resource_call,1}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>tim@r2d2:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment