http-client-procs.tcl

  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add function util::http::available to check, whether util::http::* can be called in the current configuration

- activate spooling to files for versions of naviserver supporting it

- add code to convert timeout value to a value suitable for the

underlying implementation (NaviServer or curl)

- document timeout values

- base deprecated code on util::http::*

- moved util_link_responding_p and util_get_http_status to

http-client-procs and based it on util::http::*.

- marked util_link_responding_p and util_get_http_status as

deprecated, moved a new version into the util::* namespace

and turned positional arguments into non-positional

  1. … 1 more file in changeset.
- follow documentation conventions

- use proper version comparison to avoid surprises, when alnum comparison leads to different results

- add missing backslashes in util::http::native::request for redirects

- make "GET" default method

- change encoding to unix style (as in other procs)

    • -1511
    • +1515
    ./http-client-procs.tcl
Committed new API for HTTP client functionality, moved old HTTP client procs to the new file and set them as deprecated.

  1. … 1 more file in changeset.
file http-client-procs.tcl was initially added on branch oacs-5-8.

    • -0
    • +0
    ./http-client-procs.tcl