Return hashes of uploaded content for dav uploads
hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers.
these headers are set for file uploads and the MOVE request at the end of a multipart upload.
Signed-off-by:
Robin Appelman <robin@icewind.nl>
Showing
- apps/dav/lib/Connector/Sabre/File.php 19 additions, 8 deletionsapps/dav/lib/Connector/Sabre/File.php
- lib/composer/composer/autoload_classmap.php 1 addition, 0 deletionslib/composer/composer/autoload_classmap.php
- lib/composer/composer/autoload_static.php 1 addition, 0 deletionslib/composer/composer/autoload_static.php
- lib/private/Files/Stream/HashWrapper.php 72 additions, 0 deletionslib/private/Files/Stream/HashWrapper.php
- tests/lib/Files/Stream/HashWrapperTest.php 55 additions, 0 deletionstests/lib/Files/Stream/HashWrapperTest.php
Loading
Please register or sign in to comment