{
"cache-control": "no-cache",
"pragma": "no-cache",
"content-length": "8362",
"content-type": "application/csv",
"expires": "-1",
"server": "Microsoft-IIS/8.0",
"auth-token-updated": "",
"content-disposition": "attachment; filename=searchresults.csv",
"x-aspnet-version": "4.0.30319",
"x-sourcefiles": "=?UTF-8?B?YzpcV29ya1NwYWNlXENhbGxtaW5lclxEZXZlbG9wbWVudFxDYWxsTWluZXJGcm9udEVuZEFwaVx0cnVua1xzcmNcQ2FsbE1pbmVyRnJvbnRFbmRBcGlcYXBpXHYyXGV4cG9ydA==?=",
"x-powered-by": "ASP.NET",
"date": "Mon, 24 Aug 2015 16:03:58 GMT",
"": ""
}yet saves as 7F4E1DD6-C74B-481E-82F9-3A222327949C with no extension in IE and chrome as application-csv-export-guid=2299f2da-1e86-4fc1-aab4-6fdc776b5715-blob-http%3A--localhost%3A21346-40f3b67c-56ff-4112-9381-1cada346c2be. This only recently started happening after we added a new version to our api. Previously this was working fine.
Using Swagger version v2.1.2-M2.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you try it again with the latest version of the UI?
On Mon, Aug 24, 2015 at 10:29 PM, csmccoy <christop...@gmail.com> wrote:
I have a route that returns a csv file for download. I'm having 2 problems. The first is that from internet explorer the download link does nothing on click but chrome saves as expected.. If I right click save target as the file downloads fine though. The second is the file name isn't being honored from the response. An example is:{
"cache-control": "no-cache",
"pragma": "no-cache",
"content-length": "8362",
"content-type": "application/csv",
"expires": "-1",
"server": "Microsoft-IIS/8.0",
"auth-token-updated": "",
"content-disposition": "attachment; filename=searchresults.csv",
"x-aspnet-version": "4.0.30319",
"x-sourcefiles": "=?UTF-8?B?YzpcV29ya1NwYWNlXENhbGxtaW5lclxEZXZlbG9wbWVudFxDYWxsTWluZXJGcm9udEVuZEFwaVx0cnVua1xzcmNcQ2FsbE1pbmVyRnJvbnRFbmRBcGlcYXBpXHYyXGV4cG9ydA==?=",
"x-powered-by": "ASP.NET",
"date": "Mon, 24 Aug 2015 16:03:58 GMT",
"": ""
}yet saves as 7F4E1DD6-C74B-481E-82F9-3A222327949C with no extension in IE and chrome as application-csv-export-guid=2299f2da-1e86-4fc1-aab4-6fdc776b5715-blob-http%3A--localhost%3A21346-40f3b67c-56ff-4112-9381-1cada346c2be. This only recently started happening after we added a new version to our api. Previously this was working fine.Using Swagger version v2.1.2-M2.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.