summaryrefslogtreecommitdiffstats
path: root/library/http
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-09-301-3/+2
|\
| * (slightly) better error-message for invalid http -headers option. This works ↵jan.nijtmans2020-09-301-5/+3
| | | | | | | | for plain 8.6 too
* | Ticket [0063cbcada]: From tcl 8.7 on, use "string is dict" instead "string ↵oehhar2020-09-301-4/+3
| | | | | | | | is list" & length %2 == 0 to check for a valid dict
* | Ticket [0063cbcada]: check http::geturl -headers parameter to be a dictoehhar2020-09-291-2/+4
|\ \ | |/
| * Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict.oehhar2020-09-291-2/+4
| |
* | Change version number of http package from 2.9.5 -> 2.10.0a1, since it's ↵jan.nijtmans2020-09-172-3/+3
|\ \ | |/ | | | | | | different from the 2.9.5 version in Tcl 8.6.x. Use "$idx >= 0" check in stead of "$idx > -1" everywhere.
| * Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-1/+1
| | | | | | | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
| * Use $index<0 in stead of $index==-1 consistantlyjan.nijtmans2020-09-111-1/+1
| |
* | Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-1/+1
| | | | | | | | Thanks!
* | Use $index<0 in stead of $index==-1 consistantlyjan.nijtmans2020-09-111-1/+1
| |
* | Merge 8.6jan.nijtmans2020-08-292-14/+72
|\ \ | |/
| * Fix for http bug c2dc1da315. Add tests. Add detail about -handler to ↵kjnash2020-08-242-3/+45
| | | | | | | | http(n). Bump version to 2.9.5.
| * Bugfixes to the earlier fix of bug cb0373bb33, which broke HTTP/1.0 ↵kjnash2020-08-122-13/+29
| | | | | | | | transactions in which the server indicates neither a Content-Length nor that it will close the socket on completion ("Connection: close"). The HTTP/1.1 rule is that the response header "Connection", if absent, must default to "keep-alive"; but this rule does not apply to HTTP/1.0. Add test http11-3.4 and bump version to 2.9.4.
| |
| \
*-. \ Merge 8.6jan.nijtmans2020-07-262-6/+29
|\ \ \ | | |/
| | * Merge 8.6jan.nijtmans2020-07-251-9/+9
| | |\
| | * | Fix for bug cb0373bb33. In HTTP/1.1 the response header "Connection", if ↵kjnash2020-07-242-6/+29
| | |/ | | | | | | | | | absent, must default to "keep-alive". Add test http11-1.13 and bump version to 2.9.3.
| * | Fix for bug cb0373bb33. In HTTP/1.1 the response header "Connection", if ↵kjnash2020-07-242-6/+29
|/ / | | | | | | absent, must default to "keep-alive". Add test http11-1.13 and bump http version to 2.9.3.
* | Merge 8.6jan.nijtmans2020-06-212-5/+3
|\ \ | |/
| * Bump http version to 2.9.2kjnash2020-06-192-2/+2
| |
| * Merge 8.6kjnash2020-06-191-1/+1
| |\
| * | Bugfix for #f81beca7af. Revert mistaken change to -querychannel -translation ↵kjnash2019-07-142-5/+3
| | | | | | | | | | | | in library/http/http.tcl. Bump http version to 2.9.1. Also, give correct major version in doc/http.n and adjust example user-agent string to a 2.9 value.
* | | Move the cookiejar package to its own directory so http works as a TM. Fix ↵dkf2019-11-264-1039/+0
| | | | | | | | | | | | the unix installation code to include the bootstrap registrar names.
* | | Merge 8.6jan.nijtmans2019-11-182-3/+3
|\ \ \ | | |/ | |/|
| * | Fix [13657a2dc3]: application/json is not a binary payload for http. http ↵jan.nijtmans2019-11-182-3/+3
| |\ \ | | |/ | |/| | | | 2.9.0 -> 2.9.1
| | * http package from 2.7.14 to 2.7.15jan.nijtmans2019-11-182-2/+2
| | |
| | * Fix [13657a2dc3]: application/json is not a binary payload for httpjan.nijtmans2019-11-181-1/+1
| | |
| | * Use "package provide Tcl" consistantly, in stead of either "package present ↵jan.nijtmans2019-09-111-1/+1
| | | | | | | | | | | | Tcl" or "info tclversion"/"info patchlevel"
* | | Merge 8.6jan.nijtmans2019-08-231-0/+0
|\ \ \ | |/ / | | | | | | Update effective_tld_names.txt.gz to the latest version. Adapt .gitattributes and .fossil-settings/binary-glob to handle *.gz file transparently in fossil/git
* | | Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is ↵jan.nijtmans2019-01-261-1/+1
|\ \ \ | |/ / | | | | | | | | | always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in.
* | | Make it easier to extend cookiejar for policy reasonsdkf2018-10-151-0/+18
| | |
* | | Fix up citationsdkf2018-10-141-0/+4
| | |
* | | Added documentationdkf2018-10-141-2/+11
| | |
* | | Adapt the code to the fact that we don't need to stick to the BMP any moredkf2018-10-141-4/+3
| | |
* | | Move header parsing to where it belongsdkf2018-10-141-5/+5
| | |
* | | merge core-8-branchdkf2018-10-142-331/+2239
|\ \ \ | |/ /
| * | Give lambda function a name "ReceiveChunked" for easier testing. New ↵jan.nijtmans2018-09-231-100/+42
| | | | | | | | | | | | function quoteString and code cleanup
| * | Update http version number, and fix some related test-casesjan.nijtmans2018-09-222-2/+2
| | |
| * | Bugfix - always cleanup persistent socket.kjnash2018-06-011-5/+6
| | |
| * | Restore production test settings: set tests/httpPipeline.test to ↵kjnash2018-04-211-64/+64
| | | | | | | | | | | | non-verbose, and comment out most Log calls in library/http/http.tcl
| * | merge 8.6kjnash2018-04-212-4/+5
| |\ \
| | * | http::geturl now returns full error stack information if the initial socket ↵oehhar2018-04-182-4/+5
| | | | | | | | | | | | | | | | command fails Ticket [ff82755e15]
| * | | Restore Tcl 8+4 tab conventionkjnash2018-04-131-28/+28
| | | |
| * | | Improve detection and reporting of TLS errors. New command ↵kjnash2018-04-131-14/+66
| | | | | | | | | | | | | | | | http::registerError to assist the latter. Ensure that http::cleanup cancels any timeout event if not already done. Add comments on non-blocking read/gets.
| * | | Restore most lines to 80 columnskjnash2018-04-041-64/+83
| | | |
| * | | Use coroutines to remove blocking on HTTP connectionskjnash2018-04-041-408/+466
| | | |
| * | | Increase test timeout to 10s. Remove commenting from Log calls that report ↵kjnash2018-04-011-6/+12
| | | | | | | | | | | | | | | | long delay for [socket].
| * | | Chasing timeout bug: reduce client timeout to 4s in tests; more sanity ↵kjnash2018-03-311-2/+27
| | | | | | | | | | | | | | | | checking in non-keep-alive tests; tidying; more logging in http.tcl.
| * | | For thorough testing, set test file to verbose, and uncomment Log calls in ↵kjnash2018-03-301-54/+54
| | | | | | | | | | | | | | | | http.tcl.
| * | | Bugfixes. Details in ticket 46b6edad51.kjnash2018-03-301-133/+239
| | | |
| * | | Implement queuing and pipelining for HTTP requests over a persistent connection.kjnash2018-03-271-44/+1404
| | | |