Changes between Version 9 and Version 10 of Extensions
- Timestamp:
- 2009-01-14T23:46:40Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Extensions
v9 v10 16 16 Tahoe URIs may refer to either immutable or mutable content. URIs for immutable data are simple to cache by mapping the URI to the contents. 17 17 18 Mutability is independent of read-only capabilities. A read-only capability may refer to mutable content .18 Mutability is independent of read-only capabilities. A read-only capability may refer to mutable content (i.e. *you* can't write to it, but somebody else might be able to). 19 19 20 20 To determine the mutability of a URI, parse the second field of the URI (delimited by ':'): … … 22 22 * URI:CHK:... : immutable 23 23 * URI:LIT:... : immutable 24 * URI:SSK:... : mutable, writable 25 * URI:SSK-RO:... : mutable, not writable 24 26 * URI:DIR:... : mutable, writable 25 27 * URI:DIR-RO:... : mutable, not writable 26 28 27 Note: Currently allfiles are immutable, and all directories are mutable, but in the future the node type (file or directory) and the mutability will be independent. It's a bad idea to rely on the node type to determine mutability.29 Note: Currently most files are immutable, and all directories are mutable, but in the future the node type (file or directory) and the mutability will be independent. It's a bad idea to rely on the node type to determine mutability. 28 30 29 31 … … 35 37 * The following clients are known to support all methods: 36 38 * [http://curl.haxx.se/ curl] is an open source client which supports arbitrary methods with the '-X' option. 39 * Python 2.5's stdlib modules ({{{httplib}}}, {{{urllib}}}) provide good support for arbitrary methods. 37 40 * The following clients do not seem to support either {{{PUT}}} and {{{DELETE}}}: 38 41 * ... 39 42 * We have not yet determined if the following have support for arbitrary methods: 40 * Common web browsers. 41 * Python 2.5's stdlib: 42 * {{{httplib}}} 43 * {{{urllib}}} 43 * Common web browsers. In general, HTML forms can only cause GET and POST operations. Javascript might have more abilities. 44 44 45 45 === Race Conditions ===