Tcl Source Code

View Ticket
Login
Ticket UUID: 1063703
Title: feature upgrade http.tcl
Type: RFE Version: None
Submitter: nobody Created on: 2004-11-10 10:19:39
Subsystem: 29. http Package Assigned To: hobbs
Priority: 8 Severity:
Status: Deleted Last Modified: 2008-03-12 17:02:05
Resolution: Fixed Closed By: hobbs
    Closed on: 2008-03-12 09:43:55
Description:
Hi everyone,

we installed the latest tcl package provided by suse 9.2 
these days.
it seems that there is no feature development for the 
http-library.
some time ago we made changes to http.tcl to get it 
running with some of the http/1.1 features because we 
had some troubles when talking to M$ IIS.

*) added handling of chunked transfers
*) added handling of http 100 status code (continue)
*) for convenience: added http::meta to get all server 
response headers

feel free to include the changes to http.tcl in future 
releases.

cheers,
christoph
User Comments: hobbs added on 2008-03-12 17:02:05:
Logged In: YES 
user_id=72656
Originator: NO

Note that -keepalive is 0 by default because the tclvfs code it inherited from had poor pipeline handling.

hobbs added on 2008-03-12 16:43:54:

File Added - 270087: http27.diff

Logged In: YES 
user_id=72656
Originator: NO

A variant based on http 2.6 that was in tclvfs was used instead for http 2.7 core in 8.5.2.  Diff attached.  If you want to revisit and modify/add new features, that's fine.  http 2.7 only added a few geturl options (-keepalive and -protocol, with -strict, -method and -myaddr orthogonal) with underlying changes to get the pipelining.

This will likely be backported to 8.4.19 as well.  8.4 features are used (no 8.5 features).
File Added: http27.diff

hobbs added on 2005-05-31 09:25:30:

data_type - 360894

hobbs added on 2004-11-12 04:00:34:

File Added - 108478: diff.dat

Logged In: YES 
user_id=72656

Diff file as provided by Christoph against http 2.3.

pedietz added on 2004-11-12 03:39:05:
Logged In: YES 
user_id=584339

also see http://tclhttp1-1.sourceforge.net/

I'll examine this file and incorporate changes into tclhttp1-1
Phil

nobody added on 2004-11-10 17:19:39:

File Added - 108263: http.tcl

Attachments: