socketry / multipart-post

Adds multipart POST capability to net/http
MIT License
293 stars 72 forks source link

Add second, optional argument to UploadIO#respond_to? method signature #32

Closed leocassarani closed 10 years ago

leocassarani commented 11 years ago

This pull request changes the method signature for the UploadIO#respond_to? method to correctly include the second, optional argument. Unfortunately this omission was causing issues on Rubinius master, as reported by @craiglittle in the discussion for this commit.

While this has since been fixed in Rubinius, it doesn't change the fact that the respond_to? method was being overridden incorrectly to begin with.

nicksieger commented 10 years ago

Thanks for this.