Use format for uploaded blocks hash lists at the container level.
[pithos] / pithos / api / templates / hashes.xml
index 7d32c77..3fa0253 100644 (file)
@@ -1,9 +1,7 @@
-{% spaceless %}
 <?xml version="1.0" encoding="UTF-8"?>
 
-<object name="{{ object }}" bytes="{{ bytes }}">
+<object name="{{ object }}" bytes="{{ bytes }}" block_size="{{ block_size }}" block_hash="{{ block_hash }}">
   {% for hash in hashes %}
   <hash>{{ hash }}</hash>
   {% endfor %}
 </object>
-{% endspaceless %}