adding support for upload size limit on PUT requests