Changes between Initial Version and Version 1 of Ticket #203, comment 22


Ignore:
Timestamp:
10/16/2013 02:49:26 PM (11 years ago)
Author:
str4d
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #203, comment 22

    initial v1  
    1111i2pbob:stats.i2p
    1212}}}
     13
     14(The `timeout` and `caCertsDir` parameters are optional, real FURLs would not contain them and would use the concise formats i.e. `ssl:twistedmatrix.com:443`)
    1315
    1416A FURL contains a series of comma-separated location hints for a client to use. Any of the above endpoint descriptions could be provided in the FURL, extracted by `decode_location_hints` and passed directly to [https://twistedmatrix.com/documents/13.1.0/api/twisted.internet.endpoints.clientFromString.html clientFromString()]. I don't see anything preventing commas from being used in endpoint descriptions, but Twisted supports escaped colons in parameters, so `encode_location_hint` could escape commas and `decode_location_hints` could unescape them.