Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 08bd46cf9092d416586673b1aca2eac346adf6348cfff5b5a762200a32084350
Ticket: e7c6360975241171ecb8f95fdd3114688b9f9e45
http 2.10 meta changes dict keys to lowercase
User & Date: emiliano on 2024-05-10 16:08:41
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed to:
    Package http from trunk breaks scripts by lowercasing the meta dictionary keys
    
    <pre>
    $ cat httperr.tcl 
    package require http
    set tok [http::geturl http://tkchat.tcl.tk/current.html]
    puts [dict keys [http::meta $tok]]; http::cleanup $tok
    $ tclsh8.6 httperr.tcl 
    Date Server Connection Content-Type Content-Length X-LOLCATZ Cache-Control X-BridgeNames
    $ tclsh9.0 httperr.tcl 
    date server connection content-type content-length x-lolcatz cache-control x-bridgenames
    </pre>
    
    While http headers are case insensitive, this breaks scripts using the meta information as a Tcl dictionary since the later is not case insensitive.
    
  5. is_private changed to: "0"
  6. login: "emiliano"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Severe"
  10. status changed to: "Open"
  11. submitter changed to: "emiliano"
  12. subsystem changed to: "81. Bundled Packages"
  13. title changed to: "http 2.10 meta changes dict keys to lowercase"
  14. type changed to: "Bug"