Trial and error. I got "Request entity too large" errors when I tried to upload anything bigger to pulp. To be clear, this is not to limit the total size of what's being uploaded just the size of each request to upload_bits. It could be a config variable though so I'll do that. Also, I find out from pulp what the default size is and use that.