http-client-procs.tcl

  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge from oacs-5-10

  1. … 8099 more files in changeset.
Wrap legacy and current ns_http api behavior in a proc with a common interface in a way that people with newer Naviserver can exploit e.g. ns_http run capabilities (in particular, not being forced to queue and potentially block concurrent HTTP requests)

Specify the timeout value on the wait command as well and avoid unneeded conversion

improve spelling

  1. … 15 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Fix dict expression (many thanks to Markus Moser)

Let max_depth behave as specified (0 disables redirection). Many thanks to Markus Moser

improve spelling

  1. … 6 more files in changeset.
Introduce elapsed time in http api response

Will use the one coming from ns_http when available, or fallback to a calculated one.

Translation of file descriptor must be binary as well when flushing in-memory payload to the spool file, or we would corrupt this content

util::http performance improvements:

- cache util::http::available as namespace variable, as in the worst case it would go to the db

- replace array idioms with dict idioms

Trim whitespace

Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- Add mising @param

- Add missing @author

- @creation_date -> @creation-date

- @creation-user -> @author

- Fix typos

  1. … 8 more files in changeset.
Avoid double encoding when content is in the same encoding as that of tcl interpreter

change capitalization for protocol name

improve spelling

  1. … 10 more files in changeset.
improve wording

  1. … 7 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 71 more files in changeset.
Fix typos

  1. … 42 more files in changeset.
Fix typos

  1. … 14 more files in changeset.
Fix even more typos

  1. … 29 more files in changeset.
Move deprecated procs into deprecated-procs.tcl

  1. … 10 more files in changeset.
Fix more typos

  1. … 11 more files in changeset.
Fix typos

  1. … 2 more files in changeset.
Bugfix

Decode form variables when a payload is transformed from form-urlencoded to multipart. Fix documentation for -formvars parameter

Bugfix

Avoid double encoding when content is in the same encoding as that of tcl interpreter

Fix nonsense fconfigure -translation $encoding

Try to make code clearer

merged changes from the oacs-5-9 branch and resolved conflicts

    • -404
    • +1012
    ./http-client-procs.tcl
  1. … 7834 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.