use rack handler for uploads