Skip to content
Tcl Source Code View Ticket
Login

View Ticket

feature upgrade http.tcl

Deleted1063703fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 19 years ago
Descriptionplain2004-11-10 10:19:39
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
nobodyplain2004-11-10 17:19:39
File Added - 108263: http.tcl
pedietzplain2004-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
hobbsplain2004-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.
hobbsplain2005-05-31 09:25:30
data_type - 360894
dkf Ticket [1063703fff]: 1 change [History diff]2007-08-19 06:35:47
hobbsplain2008-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 Deleted ticket [1063703fff]. [History diff]2008-03-12 16:43:55
hobbsplain2008-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.
Log in (anonymous is fine) to add a comment.

Attachments: