Thursday, November 27, 2008

Thanks, Taavi!

Webmachine has received its first contribution from someone outside the core development team.

Taavi Talvik pointed out that some HTTP clients such as curl do not send a Content-Type by default when making PUT requests, and that it would be nicer to be able to work in such cases. He sent a patch with a suggested fix for this as well as a fix allowing PUT requests to more easily short-circuit to a desired response code.

Most of this submission is included in Webmachine 0.17. The only exception is that I did not add a default receiver for such PUT requests. This is out of a desire for explicitness in Webmachine resources. If you want to receive incoming PUT or POST requests, you must define what you will do with them.

Thank you, Taavi, for your contribution.