Tcl Library Source Code

View Ticket
Login
Ticket UUID: 3613725
Title: ::rest::get & "format" config option...
Type: Bug Version: None
Submitter: petasis Created on: 2013-05-22 11:32:51
Subsystem: rest Assigned To: afaupell
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2013-05-31 21:19:34
Resolution: None Closed By: nobody
    Closed on:
Description:
(This is about the rest package)

Hi all,

I am reading the manual for the rest package in tcllib, and I get the impression that in ::rest::simple, the config directory should contain \"format\". In the rest of the manual, I got the impression that \"format\" and \"result\" are somehow synonyms.

Looking in the code, I see that only \"result\" is checked in config, and I am not sure what happens in parse_opts (:format is specified).

May be the documentation needs to mention only \"result\"? (And fix the option handling?)

George
User Comments: aku added on 2013-05-31 21:19:34:
I have no idea about the intent of the package author here, and have to defer to him. Re-assigning the bug to the author.