azavea/OpenTreeMap — pull request #28 by jwalgran (2012-11-02 15:33:23+00:00)
Title: Fix file naming when uploading tree photos through the API

The previous version of the add tree photo API assumed the image was a PNG and
saved the file with a .png extension. This update uses the Content-Type header
to set the file extension.