Tcl Source Code

View Ticket
Login
Ticket UUID: 2841176
Title: http::geturl evaluates command callback in http namespace
Type: Bug Created on: 2009-08-20 15:45:21
Submitter: sbron Assigned to: patthoyts
Subsystem: 29. http Package Severity: Minor
Priority: 5 Medium Last modified: 2022-09-10 11:54:40
Status: Closed Closed by: kjnash
Resolution: Fixed Closed on: 2022-09-10 11:54:40
Version: obsolete: 8.5.7
Description:
When using [http::geturl $url -command status] the status proc in the global namespace never gets called. Presumably the http::status proc is executed instead.

It would be less surprising if the callback would be executed in the global namespace. Otherwise it should be mentioned in the docs that a fully qualified namespace path should be passed as the value of the -command argument.
User Comments:
kjnash added on 2022-09-10 11:54:40:
Fixed in commit [912031d94e], branch http-bugfixes-2022H2.