Updated D1ResourceHandler to not hardcode a file size limit. This will allow large, multi-gigabyte files to be uploaded, but still needs testing. The limit is now drawn from the metacat.properties file. An alternative would be to inspect the Content-Length header of the request and set the max to a value greater than the request size, but this would allow arbitrarily sized uploads. Warrants discussion.
Updated D1ResourceHandler to not hardcode a file size limit. This will allow
large, multi-gigabyte files to be uploaded, but still needs testing. The limit
is now drawn from the metacat.properties file. An alternative would be to inspect
the Content-Length header of the request and set the max to a value greater than the
request size, but this would allow arbitrarily sized uploads. Warrants discussion.