summaryrefslogtreecommitdiffstats
path: root/library/http/http.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2009-04-19 18:27:59 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2009-04-19 18:27:59 (GMT)
commit088d91e5be449b50b2330892fc611bed5a4a6c6a (patch)
tree3b26238ddcfadfd8972ccfc769b72d9455ad5342 /library/http/http.tcl
parent0faf3c561ee72b67abea7c34667c19344d759d18 (diff)
downloadtcl-088d91e5be449b50b2330892fc611bed5a4a6c6a.zip
tcl-088d91e5be449b50b2330892fc611bed5a4a6c6a.tar.gz
tcl-088d91e5be449b50b2330892fc611bed5a4a6c6a.tar.bz2
Removed newline appended to POST data.
Added tests to check that the data provided by a POST is as stated in the content-length [Bug 2715421]
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r--library/http/http.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 8de0a9d..654d8b0 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -8,12 +8,12 @@
# 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.75 2009/04/10 14:19:44 patthoyts Exp $
+# RCS: @(#) $Id: http.tcl,v 1.76 2009/04/19 18:27:59 patthoyts Exp $
package require Tcl 8.6
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.8.0
+package provide http 2.8.1
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -906,7 +906,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 {