Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bbb665285e82161eafda136bbd77e51a6ef76bebfdc7859bc8b8d92b204b7d2a
Ticket: 1214322fffffffffffffffffffffffffffffffff
Provide descriptions of error codes
User & Date: kjnash on 2022-09-10 11:52:52
Changes

  1. assignee changed to: "aku"
  2. closedate changed to: "2459832.99505007"
  3. closer changed to: "kjnash"
  4. comment changed to:
    Hi, a small API such as this would be handy:
    
    array set errs {
        401 "Not authorized to access this directory"
        403 "Forbidden"
        404 "File not found"
        500 "Internal server error"
        501 "Not implemented"
    }
    
    if { ! [info exists errs($ncode)] } {
        set errmsg "numeric: $ncode"
    } else {
        set errmsg $errs($ncode)
    }
    
    Thanks,
    Dave
    
  5. icomment:
    Command http::reason provided in commit [ff9bdad66a], branch http-bugfixes-2022H2.
    
  6. login: "kjnash"
  7. mimetype: "text/x-fossil-plain"
  8. resolution changed to: "Fixed"
  9. severity changed to: "Minor"
  10. status changed to: "Closed"