We should check in the webui if a user tries to upload an extensions that would exceed the maximum allowed content size to fail early on. Also some browsers do not correctly display a 413 error if the request is not fully read, see #1458.