Vizzuality/CartoDB-SQL-API — Issue #7: content-disposition
Author: tokumine
Created: 2011-10-27 14:20:37+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.

ref: https://github.com/Vizzuality/cartodb/issues/217