summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-09-15 19:53:32 (GMT)
committerhobbs <hobbs>2006-09-15 19:53:32 (GMT)
commit46eeaabac457ed5157a0e04fe91ffb12314230a4 (patch)
tree60857e3a8c5dbb012c19b85195a12b6075a24e70 /library/http
parent5ff625924793184afe16edd7d667bf2b0daf1012 (diff)
downloadtcl-46eeaabac457ed5157a0e04fe91ffb12314230a4.zip
tcl-46eeaabac457ed5157a0e04fe91ffb12314230a4.tar.gz
tcl-46eeaabac457ed5157a0e04fe91ffb12314230a4.tar.bz2
* library/http/http.tcl: Change " " -> "+" url encoding mapping
* library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986. * tests/http.test (http-5.1): bump http to 2.5.3 for 8.4.14
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl6
-rw-r--r--library/http/pkgIndex.tcl2
2 files changed, 4 insertions, 4 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 878f02d..1a79ceb 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -8,7 +8,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.43.2.11 2006/03/07 19:18:39 dgp Exp $
+# RCS: @(#) $Id: http.tcl,v 1.43.2.12 2006/09/15 19:53:33 hobbs Exp $
# Rough version history:
# 1.0 Old http_get interface.
@@ -24,7 +24,7 @@
package require Tcl 8.4
# Keep this in sync with pkgIndex.tcl and with the install directories
# in Makefiles
-package provide http 2.5.2
+package provide http 2.5.3
namespace eval http {
variable http
@@ -50,7 +50,7 @@ namespace eval http {
}
}
# These are handled specially
- array set map { " " + \n %0d%0a }
+ set map(\n) %0d%0a
variable formMap [array get map]
}
init
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 1691b51..af88a2e 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -9,4 +9,4 @@
# full path name of this file's directory.
if {![package vsatisfies [package provide Tcl] 8.4]} {return}
-package ifneeded http 2.5.2 [list tclPkgSetup $dir http 2.5.2 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister}}}]
+package ifneeded http 2.5.3 [list tclPkgSetup $dir http 2.5.3 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]