Switch shapefile export to bg task system

/cc @hampelm 

Yes, it does.


Prashant Singh
CTO & Founder, LocalData
localdata.com
281.650.5999

On Wed, Sep 24, 2014 at 2:41 PM, Matt Hampel <notifications@github.com>
wrote:

> In lib/controllers/responses.js:
>
> > @@ -902,11 +902,10 @@ function sendExport(name, res) {
> >  // TODO: send appropriate headers with a 202 Accepted response to discourage
> >  // caching (although we still ought to add a cache-buster query param on the
> >  // client end)
> > -exports.sendCSV = function sendCSV(req, res) {
> > +function handleExport(req, res, type) {
> >    var surveyId = req.params.surveyId;
> >    var latest = req.query.latest;
>
> Does the new export system still support the latest flag?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/LocalData/localdata-api/pull/214/files#r18002467>.
>