diff options
author | hobbs <hobbs> | 2000-01-11 22:09:10 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-01-11 22:09:10 (GMT) |
commit | 6cf44cfd1a6b849cbfabaf7d6b2279499e3b068e (patch) | |
tree | d5b92547562a91a7d67bf0d0ebc8e2270af31436 /library/http2.1 | |
parent | dba4ade20672f9434ee5f1c871cc0e3454dc6fd0 (diff) | |
download | tcl-6cf44cfd1a6b849cbfabaf7d6b2279499e3b068e.zip tcl-6cf44cfd1a6b849cbfabaf7d6b2279499e3b068e.tar.gz tcl-6cf44cfd1a6b849cbfabaf7d6b2279499e3b068e.tar.bz2 |
* library/http2.1/http.tcl: trim value for $state(meta) key
Diffstat (limited to 'library/http2.1')
-rw-r--r-- | library/http2.1/http.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http2.1/http.tcl b/library/http2.1/http.tcl index 07d8e87..2b4cf43 100644 --- a/library/http2.1/http.tcl +++ b/library/http2.1/http.tcl @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and # redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: http.tcl,v 1.19 1999/12/04 06:16:00 hobbs Exp $ +# RCS: @(#) $Id: http.tcl,v 1.20 2000/01/11 22:09:10 hobbs Exp $ package provide http 2.2 ;# This uses Tcl namespaces @@ -472,7 +472,7 @@ proc http::cleanup {token} { set state(totalsize) [string trim $length] } if {[regexp -nocase {^([^:]+):(.+)$} $line x key value]} { - lappend state(meta) $key $value + lappend state(meta) $key [string trim $value] } elseif {[regexp ^HTTP $line]} { set state(http) $line } |