Changes between Initial Version and Version 1 of Ticket #1634, comment 14


Ignore:
Timestamp:
2014-09-21T01:58:42Z (10 years ago)
Author:
Zancas
Comment:

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.
     1My tentative preference is that tahoe returns '"size":None'.
     2
     3This provides more information than simply removing the key.
    24
    35It seems to me that if a third party asks for a key:value and gets ``KeyError`` they should have guarantees about what that means.
     
    68
    79So, 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