Release Notes
Version 5.9
- Allow
GetJSONto take a simple character vector URL. - Enable uploading of file by specifying using the content of the file and its intended name, rather than reading a file from disk.
- Create "Method" synonym for "Command"
Version 5.8
- Added configuration setting
ChunkSizeto enable sending request payloads using "chunked" transfer-encoding.
Version 5.7
- Added shared setting HeaderSubstitution to control if and how environment variables are injected into header names and/or values.
Version 5.6
- Added support for content type "multipart/form-data". See Content Types.
Version 5.5
- Added configuration setting
Secretwhich will suppress the display of credentials in the authorization header. This is primarily so that one can demo using authenticated requests without having their credentials displayed in the session. - Added ability for HTTP header names and values to reference environment variables by enclosing the environment variable name in % (e.g.
%MyPassword%). This provides additional security by reducing the need to store sensitive or variable information inline. This is particularly useful when settingAuth.
Version 5.4
- Added function
IsOKto result namespace.
Version 5.3
- Added
BaseURLto make it easier to issue multiple requests to a common host. - Request header functions return shy result of new Headers array
- Better error trapping for invalidly formatted headers
Version 5.2
Version 5.1
- Added proxy server support. See Proxy-related Settings and Using a Proxy Server.
-
Changed how
HttpCommandattempts to determine payload Content-Type if the user has not specified it.
Prior behavior was to always treat it asx-www-form-urlencoded.
Now,HttpCommandwill use a Content-Type ofapplication/json;charset=utf-8if the payload either:- is simple and looks like JSON
- is a set of name/value pairs
To avoid having
HttpCommand"guess" improperly, setContent-Typeexplicitly. -
If
Authis either a vector in form'userid:password'or a 2-element vector('userid' 'password')andAuthTypeis either unspecified or'basic',HttpCommandwill properlyBase64Encodethe credentials for HTTP Basic authentication.
Version 5.0
- The major version bump from 4 to 5 was due to:
- swapping the meaning for the
TimeoutandWaitTimesettings. PreviouslyTimeoutwas used to indicate how long Conga'sWaitfunction would wait for a response andWaitTimewas how longHttpCommandwould wait for a complete response before timing out. - return codes and messages were normalized
- swapping the meaning for the
- Added new
AuthandAuthTypesettings to more easily support token-based authentication. - Removed half-implemented support for streaming
- Added
GetHeaderfunction to result namespace - More complete setting checking
- Better handling of relative redirections
- New documentation