Overview
| Artifact ID: | d07780f83bd0851a2f6c3a61f44d211c8517519a443819afb849af44cf59acf9 |
|---|---|
| Ticket: | 15e4bd83c28d0a817bf30e06071c90fe1e6db534
http::geturl: Documentation discrepancy on -query {} |
| User & Date: | oehhar on 2021-10-04 16:32:16 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Sorry for the following detail: <verbatim> http::geturl $URL -query {} </verbatim> sends a get request and not a post request. The documentation of 8.6.11 is: [https://www.tcl-lang.org/man/tcl8.6/TclCmd/http.htm#M29] <verbatim> -query query This flag causes ::http::geturl to do a POST request... </verbatim> In this corner case, it does not. It sends a get request. I suppose, we can not change the behaviour. It might be beneficial to change the wording to say that an empty query sends a get request. Any comments welcome. Best regards, Harald Note: for my personal use, it would be handy to send a post request with empty payload. - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Cosmetic"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "29. http Package"
- title changed to:
http::geturl: Documentation discrepancy on -query {} - type changed to: "Bug"