summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2011-05-12 21:07:47 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2011-05-12 21:07:47 (GMT)
commit96524bb4dd0127496d2baf6792d0de093157297b (patch)
tree43b9f22dd3ab061695e46e4b6f9f802bb3c37f23 /library/http
parent8914432bfa2957d9abadd6f508a697ce3231d7f4 (diff)
downloadtcl-96524bb4dd0127496d2baf6792d0de093157297b.zip
tcl-96524bb4dd0127496d2baf6792d0de093157297b.tar.gz
tcl-96524bb4dd0127496d2baf6792d0de093157297b.tar.bz2
[Bug 2715421] fix backported from 8.6 to remove extra newline from POSTs.
Package version incremented to 2.7.6. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl3
-rw-r--r--library/http/pkgIndex.tcl2
2 files changed, 2 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 87af637..aaef2b8 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -11,7 +11,7 @@
package require Tcl 8.4
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.7.5
+package provide http 2.7.6
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -900,7 +900,6 @@ proc http::Write {token} {
incr state(queryoffset) $state(-queryblocksize)
if {$state(queryoffset) >= $state(querylength)} {
set state(queryoffset) $state(querylength)
- puts $sock ""
set done 1
}
} else {
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 1eec2b6..fed5829 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -1,4 +1,4 @@
# Tcl package index file, version 1.1
if {![package vsatisfies [package provide Tcl] 8.4]} {return}
-package ifneeded http 2.7.5 [list tclPkgSetup $dir http 2.7.5 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]
+package ifneeded http 2.7.6 [list tclPkgSetup $dir http 2.7.6 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]