Hi All!
I use standart download way:
StreamResource resource = new StreamResource(new MyCustomSource(data), filename, getApplication());
resource.setMIMEType("application/octet-stream");
resource.setCacheTime(0);
resource.getStream().setParameter("Content-Disposition", "attachment;filename=\"" + filename + "\"");
application.get().getMainWindow().open(resource);
but in response header i have in “Content-Disposition” only filename (see image)
Why?
Calling handleDownload method vaadin pass in first parameter DownloadStream WITHOUT previous parameter set! (see image)
Very similar to the bug. Vaadin version 6.8.12.