summaryrefslogtreecommitdiffstats
path: root/tests/http.test
Commit message (Collapse)AuthorAgeFilesLines
* Don't use "package require tcltests" any more, as in other testsjan.nijtmans2022-11-201-1/+1
|
* Constraints http2.9.x make no sense, when testing http2.10jan.nijtmans2022-11-201-12/+10
|
* close forkdgp2022-11-201-9/+11
|\
| * merge 8.6dgp2022-11-201-9/+11
| |\
* | \ Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no ↵jan.nijtmans2022-11-201-1/+1
|\ \ \ | |/ / |/| / | |/ NO votes expected)
| * Newest tests must have most recent releases of http to pass.dgp2022-11-201-9/+13
| |
* | [c7f3977380] Balance stack operations in the mode with no Thread package.dgp2022-10-291-1/+3
| |
* | Duplicate test namesdgp2022-10-281-176/+176
| |
* | Restore test suite fix. If [try] is too confusing, then I will use [eval].dgp2022-10-281-2/+5
| | | | | | | | | | | | | | The stack is a stack of commands. Test hygiene. This was creating one more thread than it destroyed. In a -singleproc 1 test run, this caused tests in later test files to fail because the stray thread causes test results to be different.
* | backout [95cb836c8c]: "try [lpop threadStack]", that cannot be rightjan.nijtmans2022-10-271-5/+2
| |
* | try -> catchjan.nijtmans2022-10-271-1/+1
| |
* | Test hygiene. This was creating one more thread than it destroyed.dgp2022-10-271-2/+5
| | | | | | | | In a -singleproc 1 test run, this caused tests in later test files to fail because the stray thread causes test results to be different.
* | Minor changes to http tests.kjnash2022-10-261-1/+4
| |
* | Fix bug 1173760 (proxy server for https). Add http::config options ↵kjnash2022-10-251-3/+3
| | | | | | | | -proxynot, -proxyauth.
* | Bugfix library/http/http.tcl for connection request header - ↵kjnash2022-10-101-3/+3
| | | | | | | | tcllib/websocket ticket [d01de3281f]. Revise header order in 3 tests.
* | Add option to detect XML files and their encoding when the server supplies ↵kjnash2022-09-101-1/+1
| | | | | | | | no content-type. Fix for bugs [2998307] and [3165071].
* | Fix bug [2927221] - revised http::meta, new http::metaValue, header names ↵kjnash2022-09-091-4/+4
| | | | | | | | are case-insensitive so convert to lower case.
* | (Still buggy.) Add the ::socket replacement ::http::socket and its ↵kjnash2022-09-061-17/+32
| | | | | | | | dependencies as a workaround to bug 824251. Integrate with tls. Allow configuration -threadlevel for socket creation (package Thread may not be available and by default it is not used). Revise tests http-1.1, http-1.4, http-1.5 for new option -threadlevel. Run tests for each value of -threadlevel.
* | Revise http::geturl to open its socket in an idletask coroutine. This is ↵kjnash2022-09-061-2/+4
| | | | | | | | preparation for a workaround to bug 824251. Revise test http-4.15 because error message has changed. This commit passes all tests.
* | Merge 8.6jan.nijtmans2022-06-201-3/+6
|\ \ | |/
| * Minor bugfixes to library/http/http.tcl and tests/http.testkjnash2022-06-151-3/+6
| |
* | Merge 8.6. Tcl_RegisterCommandTypeName/Tcl_GetCommandTypeName don't exist eitherjan.nijtmans2022-05-311-1/+1
|\ \ | |/
* | Remove [https://core.tcl-lang.org/tcl/info/1fe8ca8d3eb87b65|Horrible Hack] ↵jan.nijtmans2022-05-131-3/+4
| | | | | | | | | | to keep the old error message. Instead depend on [https://core.tcl-lang.org/tips/doc/trunk/tip/601.md|TIP #601] to let "encoding convertto" generate an exception.
* | Merge 8.6jan.nijtmans2022-05-111-0/+21
|\ \ | |/
| * Fix [6898f9cb71]: shiftjis is presumably misspelled in http 2.7.7. Also add ↵jan.nijtmans2022-05-111-0/+21
| | | | | | | | more testcases for http::CharsetToEncoding, revealing one more bug
* | Add proper cleanup to testcasesjan.nijtmans2022-03-181-0/+1
| |
* | Merge 8.7jan.nijtmans2022-02-071-3/+1
|\ \
* | | Add experimental "-nothrow" option to encoding convertfrom|convertto. If ↵jan.nijtmans2021-04-011-1/+3
|/ / | | | | | | compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO
* | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-25/+25
| | | | | | | | (UTF-8) character.
* | Merge 8.6jan.nijtmans2020-12-141-7/+4
|\ \ | |/
| * Fix [fe57ad096d97623e]: Fix test http-4.14 for tcl-8.6.11rc0jan.nijtmans2020-12-141-7/+6
| |
* | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| |
* | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-3/+3
| | | | | | | | whenever reasonable.
* | Merge 8.6jan.nijtmans2020-10-301-1/+1
|\ \ | |/
| * Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-1/+1
| |
| * (slightly) better error-message for invalid http -headers option. This works ↵jan.nijtmans2020-09-301-1/+1
| | | | | | | | for plain 8.6 too
* | Ticket [0063cbcada]: From tcl 8.7 on, use "string is dict" instead "string ↵oehhar2020-09-301-1/+1
| | | | | | | | is list" & length %2 == 0 to check for a valid dict
* | Ticket [0063cbcada]: check http::geturl -headers parameter to be a dictoehhar2020-09-291-0/+3
|\ \ | |/
| * Remove wrong copy of test case http-3.2oehhar2020-09-291-3/+0
| |
| * Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict.oehhar2020-09-291-0/+6
| |
* | Merge 8.6jan.nijtmans2020-09-041-2/+4
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+4
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | Merge 8.6jan.nijtmans2020-09-011-1/+1
|\ \ | |/
| * Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-1/+1
| |
* | Fix one failing testcase (thanks, Travis!)jan.nijtmans2019-11-291-1/+1
| |
* | Give cookiejar en tcl::idna a 3-part version number. Use 0.2.0 for cookiejar ↵jan.nijtmans2019-11-281-1/+1
|\ \ | |/ | | | | | | and 1.0.1 for tcl::idna. "make install" and "make install-libraries" should now (finally) work fine for all platforms, both with configure/make and nmake.
* | Merge 8.6jan.nijtmans2019-08-041-4/+4
|\ \ | |/
| * Increase some timeout's a little, hoping this reduces the chance on Travis ↵jan.nijtmans2019-08-031-4/+4
| | | | | | | | test-failures
* | merge core-8-branchdkf2018-10-141-24/+63
|\ \
| * \ Merge 8.6jan.nijtmans2018-09-221-3/+3
| |\ \ | | |/