summaryrefslogtreecommitdiff
path: root/glanceclient/v2/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'glanceclient/v2/images.py')
-rw-r--r--glanceclient/v2/images.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/glanceclient/v2/images.py b/glanceclient/v2/images.py
index c062cb8..b07eecc 100644
--- a/glanceclient/v2/images.py
+++ b/glanceclient/v2/images.py
@@ -209,9 +209,11 @@ class Controller(object):
specified hash algorithm is not available AND allow_md5_fallback
is True, then continue to step #2
2. else if the image has a checksum property, MD5 is used to
- validate against the 'checksum' value
+ validate against the 'checksum' value. (If MD5 is not available
+ to the client, the download fails.)
3. else if the download response has a 'content-md5' header, MD5
- is used to validate against the header value
+ is used to validate against the header value. (If MD5 is not
+ available to the client, the download fails.)
4. if none of 1-3 obtain, the data is **not validated** (this is
compatible with legacy behavior)