Micah Wengren created GEOS-5102:
-----------------------------------
Summary: Add support for tar.gz formats in REST and RESTConfig modules
Key: GEOS-5102
URL: https://jira.codehaus.org/browse/GEOS-5102
Project: GeoServer
Issue Type: Improvement
Components: REST
Affects Versions: 2.2-beta1
Reporter: Micah Wengren
Assignee: Andrea Aime
Fix For: 2.2-beta1
Attachments: gzip-support.patch
The attached patch provides support for .tar.gz formatted files in addition to Zip for compressed shapefile upload. It has been tested with a single shapefile in the root of the .tar.gz file. It uses the commons-compress library added as a Maven dependency to src/rest/pom.xml. Was hoping to have this merged into version 2.2 if possible. There are probably some error cases that need to be accounted for within the code. It assumes a TARred and then G-Zipped file format, uploaded via REST with the mime type 'application/x-gzip'.
Apologies if the patch file isn't formatted 100% correctly, best I could get out of gitk.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira