Vizzuality/cartodb — Issue #217: content-disposition please
Author: springmeyer
Created: 2011-10-26 19:27:32+00:00
State: open

Would be nice to be able to push data to cartodb and then read right back into TileMill. TileMill likes a helping hand to know the file format of urls that respond with geodata and setting content-disposition will enable this. So, if the user requests:

http://tileio.cartodb.com/api/v1/sql?q=SELECT%20*%20FROM%20places_by_lon_lat&format=geojson

Then having cartodb set content-disposition to something like `foo.geojson` or `foo.json` would allow the data to be autorecognized as geojson in tilemill.