Parse parameters from multipart/form-data POSTs rather than just dropping them (needed for Windmill tests, among other things)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2302 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2011-10-07 23:15:55 +00:00
parent 1f67866258
commit fffd24d64b

View File

@ -311,6 +311,12 @@ public class ImportingUtilities {
} finally {
stream2.close();
}
} else {
String value = Streams.asString(stream);
parameters.put(name, value);
// TODO: We really want to store this on the request so it's available for everyone
// request.getParameterMap().put(name, value);
}
} else { // is file content