Re: Package Require getting "wrong version"



On Apr 30, 12:41 pm, Donald G Porter <d...@xxxxxxxx> wrote:

As unsolicited advice, I'll note that no good program should contain
[package require http], since that's free to deliver either version 1.0
or version 2.* and of course those interfaces are completely different.
Use the 'requirement' argument(s) of [package require] to ask for the
command set your program actually uses.



I am not sure I follow your suggestion. Would you care to elaborate
on this? Are you saying you can use http commands without loading it
as a package?


.



Relevant Pages

  • [Full-Disclosure] LNSA-#2004-0006: bug workaround for Apache 2.0.48
    ... Package name: apache ... The Apache HTTP Server Project is an effort to develop and maintain an ... We recommend that all systems with this package installed be upgraded. ...
    (Full-Disclosure)
  • LNSA-#2004-0006: bug workaround for Apache 2.0.48
    ... Package name: apache ... The Apache HTTP Server Project is an effort to develop and maintain an ... We recommend that all systems with this package installed be upgraded. ...
    (Bugtraq)
  • Re: Getting a file from http
    ... Is it is the same command with the ... HTTP version for this. ... You really should be doing "package require http" unless you are counting on ... I have been reading all man pages on http_get and cannot get it to ...
    (comp.lang.tcl)
  • Re: Display local OR remote html page
    ...   set target "http://wiki.tcl.tk/976"; ... As part of my HTML learning experience I'm trying to reproduce ... Because the HTTP package was designed to deal with web servers, ...
    (comp.lang.tcl)
  • Re: Getting a file from http
    ... You really should be doing "package require http" unless you are counting on some old behavior of the 1.x series. ... Is this the right command or do I use any other command? ... a token for that request - you can then use that token to get the return codes, meta data and also the data itself that was fetched, you can check the docs fdor this ...
    (comp.lang.tcl)