Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b7e7da5316206b646efbce4d31312be834661940
Ticket: 74bc0e44f5ec534d3c77fc8d78fd4cd08d3f9a0d
Documentation of http::unregister misses return value
User & Date: oehhar on 2016-09-22 15:52:07
Changes

  1. icomment:
    Pat,
    thanks for the message.
    
    IMHO https and the underlaying package (tls/Twapi) and its options (tls package) are quite critical.
    
    Thus packages which require registered https protocol should not delete a present registration, but just use it or post an error if not compatible.
    
    To your solution: I don't like to access internals ('::http::urlTypes(https)') if they don't belong to the public interface.
    Tomorow, a maintainer changes the array to a dict and it does not work any more.
    
    To your proposal, I would prefer a solution where we can explicitly query the current setting.
    The 'set'-semantics does not help, as it returns the value just set, not the value eventually replaced by the set.
    
    Thank you,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"