summaryrefslogtreecommitdiffstats
path: root/tests/http.test
Commit message (Collapse)AuthorAgeFilesLines
* Add fix and test for URLs that contain literal IPv6 addresses. [Bug 3531209]max2012-07-081-0/+7
|
* Merged from 8.5 branch -- http package. Fix Bug 3498327. Generate upper-case ↵andreask2012-03-071-6/+6
|\ | | | | | | hexadecimal output for compliance with RFC 3986. Bumped version to 2.8.4.
| * Merged from 8.4 branch -- http package. Fix Bug 3498327. Generate upper-case ↵andreask2012-03-071-6/+6
| |\ | | | | | | | | | hexadecimal output for compliance with RFC 3986. Bumped version to 2.7.9.
| | * http package. Fix Bug 3498327. Generate upper-case hexadecimal output for ↵andreask2012-03-071-6/+6
| | | | | | | | | | | | compliance with RFC 3986. Bumped version to 2.5.7.
* | | [Bug 3391977]: Ensure that the -headers option to http::geturl overrides the dkf2011-09-161-0/+26
|\ \ \ | |/ / | | | | | | -type option (important because -type has a default that is not always appropriate, and the header must not be duplicated).
| * | [Bug 3391977]: Ensure that the -headers option to http::geturl overrides thedkf2011-09-161-0/+24
| | | | | | | | | | | | -type option (important because -type has a default that is not always appropriate, and the header must not be duplicated).
* | | Convert [testthread] use to Thread package use in http.test.dgp2011-09-021-11/+8
| | | | | | | | | Eliminates memory leak seen in `make valgrind`.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-3/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-3/+0
| | | | | | | | | more harm than good. Purged them.
| | * update tests to handle strictness changehobbs2006-10-061-1/+14
| | |
| | * * library/http/http.tcl: Change " " -> "+" url encoding mappinghobbs2006-09-151-2/+2
| | | | | | | | | | | | | | | * 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
| | * Backport of improved URL parsing. [Bug 1358369]dkf2005-11-181-73/+56
| | |
| | * * tests/http.test: do not URI encode -._~ accordinghobbs2005-10-051-3/+3
| | | | | | | | | | | | * library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
| | * * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-251-9/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/pkgIndex.tcl: merged to v2.4.4 from headhobbs2003-07-181-1/+7
| | | | | | | | | | | | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
| * | * tests/httpd: Backport new tests for http 2.7.3.dgp2009-04-101-3/+3
| | | | | | | | | | | | * tests/http.tcl:
| * | [Bug 1929403] specify the translation mode when counting bytespatthoyts2008-12-111-1/+2
| | |
* | | * tests/http.test: Make http-4.15 pass in isolation [Bug 3097490]dgp2010-10-281-2/+2
| | |
* | | Fix [Bug 2891171]: URL checking too strict when using multiple question ↵nijtmans2009-11-181-2/+2
| | | | | | | | | | | | marks (added test case)
* | | Clean up http tokens properly.dkf2009-09-111-107/+162
| | |
* | | More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-3/+7
| | |
* | | Correct failures during -singleproc 1 test suite run.dgp2009-06-241-4/+8
| | | | | | | | | | | | Correct duplicate test names.
* | | Improved HTTP/1.1 support and added specific HTTP/1.1 testing.patthoyts2009-04-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Specific check for [Bug 26245326]patthoyts2009-04-101-1/+15
| | | | | | | | | | | | | | | This bug is caused by receiving a partial HTTP response line which caused premature switching of the state in the client package before we received the whole line.
* | | Set the file channel to binary for size comparison on windowspatthoyts2008-12-091-3/+4
|/ /
* | * unix/Makefile.in (install-libraries): Bump http to 2.7hobbs2008-03-121-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * library/http/http.tcl (http::geturl): add -method option to supporthobbs2008-03-121-2/+2
| | | | | | | | | | * tests/http.test (http-3.1): http PUT and DELETE requests. * doc/http.n: [Bug 1599901, 862554]
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Make some tests clearer on failure by using tcltest2 featuresdkf2007-11-131-22/+16
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* | * library/http/http.tcl: Change " " -> "+" url encoding mappinghobbs2006-09-161-2/+2
| | | | | | | | | | * library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986. * tests/http.test (http-5.1): bump http to 2.5.3
* | Fix silly errors in REs, in variables, and in tests that were working withdkf2005-11-181-11/+11
| | | | | | | | invalid URLs.
* | Improved URL validation that better describes why validation failed. [Bug ↵dkf2005-11-181-62/+45
| | | | | | | | 1358369]
* | * tests/http.test: do not URI encode -._~ accordinghobbs2005-10-051-3/+3
| | | | | | | | * library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
* | * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-251-9/+53
| | | | | | | | | | | | | | | | | | * 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.
* | * tests/http.test: Clear away the custom [bgerror] when done.dgp2004-05-251-1/+2
| | | | | | | | * tests/io.test: Take care to use namespace variables.
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* | * library/http/pkgIndex.tcl: upped to http v2.4.4hobbs2003-07-181-1/+7
| | | | | | | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* | * tests/init.test: Added [cleanupTests] to report results of testsdgp2003-06-271-1/+2
|/ | | | | | * tests/pkg.test: that run in slave interps. [Bugs 761334,761344] * tests/http.test: Used more reliable path to find httpd script.
* Corrected a problem where http-4.14 would fail when run with a proxy Kevin B Kenny2003-02-111-3/+3
| | | | server. Replaced references to scriptics.com by tcl.tk.
* fix to crashing filesystem testvincentdarley2003-02-071-1/+3
|
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-031-3/+3
|
* * tests/http.test (http-3.11): added close $fp that was causing anhobbs2002-09-021-1/+2
| | | | error on Windows because the file was not closed before deleting.
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-16/+23
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-3/+3
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-11/+10
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-1/+2
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* added removeFile for outdatahobbs2001-10-121-1/+4
|