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


Ignore:
Timestamp:
10/16/2013 02:50:08 PM (10 years ago)
Author:
str4d
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #203, comment 22

    v1 v2  
    1212}}}
    1313
    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`)
     14(The `timeout` and `caCertsDir` parameters are examples of optional parameters. Real FURLs would not contain them, and would use the concise formats e.g. `ssl:twistedmatrix.com:443`)
    1515
    1616A 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.