Skip to content


Subversion checkout URL

You can clone with
Download ZIP


PUT requests with Reel always send 415 #67

nicholaswyoung opened this Issue · 2 comments

2 participants


Anytime I use the Reel adapter and try to issue a PUT request, I get:

Nicholass-MacBook-Pro:webmachine-ruby-test nicholaswyoung$ curl -F "media=@/Users/nicholaswyoung/Music/CC000.aif" -X PUT -v http://localhost:3000/
* About to connect() to localhost port 3000 (#0)
*   Trying ::1...
* Connection refused
*   Trying
* connected
* Connected to localhost ( port 3000 (#0)
> PUT / HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost:3000
> Accept: */*
> Content-Length: 317741272
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=----------------------------b58c2ffa04f9
< HTTP/1.1 415 Unsupported Media Type
< Content-Type: text/html
< Vary: Accept
< Content-Length: 0
* HTTP error before end of send, stop sending
* Closing connection #0

regardless of the Content Type I send. With WEBrick, I receive the expected 100-Continue, and the upload works normally. Any idea, @tarcieri? I'm on ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0] .

@tarcieri tarcieri referenced this issue

Reel #51


I am unable to reproduce this. Can please test with the current master to see if it works for you?

Please send a code example if it still fails so we can reproduce it. Thanks!


I apologize for the extremely late response. It seems master has unwittingly resolved the bug. Everything is working well now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.