Removed Remotipart specific code in favor of using the request.format