Tk 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: A Category Is Missing Assigned To: andreas_kupries
Priority: 5 Medium Severity: Minor
Status: Deleted Last Modified: 2013-05-31 19:16:43
Resolution: Not Applicable Here Closed By: aku
    Closed on: 2013-05-31 19:16:43
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