Release Notes
Version 5.8
- Added configuration setting
ChunkSize
to 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
Secret
which 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
IsOK
to result namespace.
Version 5.3
- Added
BaseURL
to 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
HttpCommand
attempts to determine payload Content-Type if the user has not specified it.
Prior behavior was to always treat it asx-www-form-urlencoded
.
Now,HttpCommand
will use a Content-Type ofapplication/json;charset=utf-8
if the payload either:- is simple and looks like JSON
- is a set of name/value pairs
To avoid having
HttpCommand
"guess" improperly, setContent-Type
explicitly. -
If
Auth
is either a vector in form'userid:password'
or a 2-element vector('userid' 'password')
andAuthType
is either unspecified or'basic'
,HttpCommand
will properlyBase64Encode
the credentials for HTTP Basic authentication.
Version 5.0
- The major version bump from 4 to 5 was due to:
- swapping the meaning for the
Timeout
andWaitTime
settings. PreviouslyTimeout
was used to indicate how long Conga'sWait
function would wait for a response andWaitTime
was how longHttpCommand
would wait for a complete response before timing out. - return codes and messages were normalized
- swapping the meaning for the
- Added new
Auth
andAuthType
settings to more easily support token-based authentication. - Removed half-implemented support for streaming
- Added
GetHeader
function to result namespace - More complete setting checking
- Better handling of relative redirections
- New documentation