Skip to content
Commit 65f4b337 authored by Martin Blanchard's avatar Martin Blanchard
Browse files

client/cas.py: Fix empty instance-name issue

If the Uploader or Downloader instance-name parameter is set to the
empty string instead of None, the generated ByteStream resource-name
would contain a leading slash, which is an invalid REAPI request. If
the instance-name is not set, the resource-name should be of the form:

    blobs/{hash}/{size}
parent 23f0fed1
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment