Skip to content
Tcl Source Code History Of Ticket 452217ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 452217ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 452217ffffffffffffffffffffffffffffffffff

  1. Ticket change [e042541a9a] (rid 115157) by tils on 2001-08-17 21:06:51:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When accessing an URL that includes a port number other
       then the standard web port 80 then I think it should
      be included in the host header, like this:
      
      Host: www.foo.com:9000
      
      but http produces this header instead:
      
      Host: www.foo.com
      
      I did not check what the http spec says about this but
      I guess including the port number is the correct thing
      - at least mozilla 0.9.3 does it.
      
      This can be easily reproduced by opening a socket on
      the shell with
      
      $ socket -s 9000
      
      and requesting that address via tcl and with a web browser:
      
      $ tclsh
      % package require http
      2.3
      % ::http::geturl http://localhost:9000
      
      
      The output on the socket shell displays the different
      Host: headers.
      
      
      I am using Linux 2.4.7 with debian, version of the tcl
      package is: tcl8.3_8.3.3-1_i386.deb
      
      I would highly appreciate any hints on how to this
      could be worked around with the current version - I
      could not find a way to manipulate the Host: header,
      and I don't want to rewrite my app to use socket
      manually. Using the -header option results in multiple
      Host: headers.
      
      
      
    4. foundin initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tils"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to: "Host header does not include port number"
    11. type initialized to: "Bug"
  2. Add attachment "http.patch" [1b89de2085] (rid 123169) by hobbs on 2001-08-21 06:49:09.

  3. Ticket change [15ffa8ebae] (rid 124653) by hobbs on 2001-08-21 06:49:09:

    1. icomment:
      
      
      File Added - 9759: http.patch
      
      Logged In: YES 
      user_id=72656
      
      As specified in RFC 2068
      http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html
      this is a change from HTTP/1.0 to 1.1, but Tcl's http 
      package doesn't support many 1.1 features.  This can be 
      added easily though.  The attached patch fixes this for the 
      HEAD.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  4. Ticket change [ed8bc13d44] (rid 103904) by hobbs on 2001-08-21 06:49:35:

    1. closedate changed to: "2001-08-20T23:49:35"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Forgot to note that this was closed.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"