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:
parent
1f67866258
commit
fffd24d64b
@ -311,6 +311,12 @@ public class ImportingUtilities {
|
|||||||
} finally {
|
} finally {
|
||||||
stream2.close();
|
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
|
} else { // is file content
|
||||||
|
Loading…
Reference in New Issue
Block a user