| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Added tests to check that the data provided by a POST is as stated in the content-length [Bug 2715421]
|
|
|
|
|
|
|
|
| |
This patch makes use of the 8.6 zlib support to provide for
deflate and gzip support and handles the -channel option with
compression and chunked transfer encoding. For the -handler
option we currently disable HTTP/1.1 features as we cannot
properly pass the data through to the caller.
|
|
|
|
| |
"connecting" state. Thanks to Sergei Golovan. [Bug 26245326]
|
| |
|
|
|
|
|
| |
package. Introduced a new intial state as the first response may not
be HTTP*.
|
|
|
|
|
|
|
| |
* library/http/pkgIndex.tcl:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc:
|
|
|
|
| |
module.
|
|
|
|
|
|
|
|
| |
* library/http/pkgIndex.tcl: for [Bug 2046486] bug fix. This
* unix/Makefile.in: release of http now requires a
* win/Makefile.in: dependency on Tcl 8.5 to be able to
* win/makefile.bc: use the unsigned formats in the
* win/makefile.vc: [binary scan] command.
|
|
|
|
| |
[Bug 2046846]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in (install-libraries): Added -myaddr option to allow
* library/http/http.tcl (http::geturl): control of selected socket
* library/http/pkgIndex.tcl: interface. [Bug 559898]
* doc/http.n, tests/http.test: Added -keepalive and
-protocol 1.1 with chunked transfer encoding support. [Bug
1063703, 1470377, 219225]
Added ability to override Host in -headers. [Bug 928154]
Added -strict option to control URL validation on per-call basis.
[Bug 1560506]
|
|
|
|
|
| |
* tests/http.test (http-3.1): http PUT and DELETE requests.
* doc/http.n: [Bug 1599901, 862554]
|
|
|
|
| |
http to be re-sourced without overwriting http state.
|
|
|
|
| |
Document meta accessor.
|
|
|
|
| |
bug #1868845 - it is better to do the [eof] check after trying to read from the socket. No clashes found in testing. Added http::meta command to access the http headers.
|
|
|
|
| |
http::status command. Set version 2.5.4
|
| |
|
|
|
|
|
| |
3986 validity checking if $::http::strict is true (default true
for 8.5). [Bug 1560506]
|
|
|
|
|
| |
* library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986.
* tests/http.test (http-5.1): bump http to 2.5.3
|
|
|
|
|
| |
* win/Makefile.in: the *.tm installation has to be placed
in an "8.4" directory, not an "8.2" directory.
|
|
|
|
|
|
| |
* library/http/pkgIndex.tcl: in URL parsing. [Bug 1358369]
* unix/Makefile.in:
* win/Makefile.in:
|
|
|
|
| |
invalid URLs.
|
|
|
|
| |
1358369]
|
| |
|
|
|
|
| |
* library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* library/http/http.tcl: that specifies encoding conversion of
* library/http/pkgIndex.tcl: args for http::formatQuery. Previously
* tests/http.test: undefined, RFC 2718 says it should be
utf-8. 'http::config -urlencoding {}' returns previous behavior,
which will throw errors processing non-latin-1 chars.
Bumped http package to 2.5.0.
|
| |
|
| |
|
|
|
|
|
| |
* library/http/http.tcl: add support for user:pass info in URL.
* tests/http.test: [Bug 759888] (shiobara)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/history.tcl: [string map] where possible. Thanks
* library/ldAout.tcl: to David Welton. [Bugs 667456,667558]
* library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and
* library/http/http.tcl: tcltest 2.2.3.
* library/http/pkgIndex.tcl:
* library/opt/optparse.tcl:
* library/opt/pkgIndex.tcl:
* library/tcltest/tcltest.tcl:
* library/tcltest/pkgIndex.tcl:
* tools/genStubs.tcl:
* tools/tcltk-man2html.tcl:
* unix/mkLinks.tcl:
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
* library/http/http.tcl: Corrected installation directory of
* library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
* library/opt/optparse.tcl: comments in other packages to remind
* library/tcltest/tcltest.tcl: that installation directories need
* unix/Makefile.in: updates to match increasing version
* win/Makefile.in: numbers. [Bug 597450]
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
| |
::error was intended. Bump to http 2.4.2.
|
|
|
|
|
| |
* library/http/http.tcl: don't add port in default case to handle
broken servers. http bumped to 2.4.1 [Bug #504508]
|
|
|
|
| |
reflecting the new features just added.
|
|
|
|
|
|
|
|
|
|
| |
* tests/http.test:
* library/http/pkgIndex.tcl:
* library/http/http.tcl (geturl): correctly get charset parameter
and convert text according to specified encoding (if known). RFC
iso8859-1 is used by default. Also recognize Content-encoding to
see if we should do binary translation. Added a CYA -binary
switch for the cases that were missed. [Bug #219211 #219399]
|
|
|
|
| |
header to comply with HTTP/1.1 spec (RFC 2068). [Bug #452217]
|
|
|
|
|
| |
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2,
opt 0.4.3, tcltest 2.0.1. [Patch 448931]
|
|
|
|
| |
forget to do it later when we release it.
|
|
|
|
| |
\t to escape them was unnecessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/http.test
* doc/http.n
* library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful
geturl calls sometimes leaked memory and resources (sockets).
Also, switched around some of the logic so that http::wait never
throws an exception. This is because in an asynchronous geturl,
the command callback will probably end up doing all the error
handling anyway, and in an asynchronous situation, the user
expects to check the state when the transaction completes, as
opposed to being thrown an exception. For the http package, this
menas the user can check http::status for "error" and http::error
for the error message after doing the http::wait.
|
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed a newly introduced bug where if
there's a -command callback and something goes wrong, geturl threw
an exception, called the callback, and unset the token. I changed
it so that it will not call the callback when throwing an
exception (so the caller only finds out about a given error from
one place). Also, fixed http::ncode so that it actually gives you
back the http return code (i.e. 200, 404, etc.) instead of the
first digit of the version of HTTP being used (i.e. 1).
|
|
|
|
|
|
| |
without reading post data" scenario. Reverted to the previous
filevent configuratiuon, which seems to work better with small
amounts of post data.
|
| |
|