Changes between Initial Version and Version 1 of Ticket #1634, comment 14
- Timestamp:
- 2014-09-21T01:58:42Z (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1634, comment 14
initial v1 1 My initial preference is that tahoe returns a '"size":None'. My intuition is that this provides a different sort of information than simply removing the key. 1 My tentative preference is that tahoe returns '"size":None'. 2 3 This provides more information than simply removing the key. 2 4 3 5 It seems to me that if a third party asks for a key:value and gets ``KeyError`` they should have guarantees about what that means. … … 6 8 7 9 So, a query of a file's "size" attribute (which is sometimes known) should provoke a different response than a query of a file's "galactic coordinate" (which is never known). 8 9 So, all that to say, I prefer to not omit the key.10