swift middleware to upload a large object without splitting by client.