I need to make a multipart request using aiohttp python. But I would like to limit a file size; say 10 MB if client side tried to fire multipart request with more than 10 MB then code suppose to throw an error. as well I would like get file format and want to set multipart request timeout. How one can achieve it?
Thanks in advance.