"""
self.buffer.write(data)
- # Yes, this does not require authentication. You have seen this correctly.
- # This is because of us using SPNEGO which might cause a request being sent
- # more than once, which therefore means that the payload is being transferred
- # more than once.
- # To avoid this, we request the digest when the upload is being created, we
- # then generate a unique ID which an attacker would have to guess first and
- # then have to upload a file which's hash collides with the original file.
+ @base.negotiate
async def put(self, uuid):
"""
Called to store the received payload