+1 GeoServer should honour the client request where it can. The only problem I can think of is where a client requests a non-streamable format and there are many features, resulting in possible resource exhaustion on the server side due to the large size of the unanticipated response format. I think we have sufficient limits set in the server. If you think this is a problem, we could add an option to disable it, but I do not think it is necessary at first.
Kind regards, Ben. On 25/10/11 16:18, Andrea Aime wrote: > Hi, > on trunk we now have the possibility to force the download of a file that the > browser > would otherwise open inline adding the "&content-disposition=attachment" kvp > param > to any request. > > I need the same to work on 2.1.x as well, but I'm weary of backporting the > large patch > that landed on trunk. > > I was wondering about the following: > - adding on 2.1.x two new parameters content-disposition=(attachment|inline) > and > filename (so that the caller can force a specific file name) > - modifying trunk to handle the filename param as well, and make the two works > as orders, not as suggestions (now they are used only if the response does > not > provide its own, which I find a bit odd since the client told us us what > to do already > > Opinions? > > Cheers > Andrea > > > > -- > ------------------------------------------------------- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- > -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
