afHttpClientExt icon

afHttpClientExt

Axon functions for making HTTP requests to REST APIs
afHttpClientExtRelease notes

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 13 watchers.

v2.1.14

v2.1 Releases

A bespoke implementation of the HTTP protocol for SkySpark v3.1.x.

v2.1.14

  • Bug: HTTP Client now handles the case where multiple Set-Cookie headers are returned in a single HTTP response. Thanks to Altura Associates for bringing this to our attention.

v2.1.12

  • Bug: Fixed HTTP "Quality Value" parsing error that could affect browsers with non-English locales.

v2.1.10

  • Chg: Reworked and updated HTTP/1.1 Keep-Alive functionality
  • Chg: Enhanced Quality Value parsing in HTTP Headers to allow for parameter inclusion
  • Chg: Silently ignore Set-Cookie values that do not confirm to RFC standards
  • Chg: More context is now given to JSON parsing errors
  • Bug: Fixed UTF-8 sizing bug with high-end Unicode characters

v2.1.8

  • Chg: Tidied up the display of HttpErr stacktraces, ensuring auth details are masked out.
  • Bug: Fixed an issue with HTTP Cookie path matching. Sticky Cookies may not have been set / re-sent when they should have.

v2.1.6

  • New: header, path, and query authentication mechanisms for setting custom values as HTTP headers, URL query parameters, and path segments.

    Thanks go to BAM Energy Systems for sponsoring theses new authentication mechanisms.

  • New: A passwords and credentials set via afHttpAuth() are now masked from debug logs.
  • New: A new camelCase option for afHttpReadFromJson() and afHttpResponse() that normalises all sorts of key and header names into coherent camelCase.
  • New: Added extra guards against Gzipped responses with Chunked Transfer encoding and NO content to avoid java.io.EOFException errors.
  • Chg: The safeNames option (for the same functions) has changed to reuse the standard SkyFoundry implementation.

    WARNING: This is a BACKWARDS BREAKING CHANGE. To retain previous functionality, use the new camelCase option instead.

  • Bug: Bearer authentication scheme can now use SkySpark secure store to lookup passwords.

v2.1.4

  • Chg: Updated the underlying afHttpClient library to v2.1.6.
  • Bug: Masking HTTP header values in debug dumps could alter the actual HTTP request / response objects.

v2.1.2

  • New: Option to disable ZLIB header and alder checksum fields in deflate responses. Thanks go to David Binstock for reporting.
  • New: Ability to clear authentication schemes and content decoding.
  • Chg: Better handling of Marker param values passed to afHttpUriPlusQuery().

v2.1.0

  • New: afHttpConfig() function to set config for the current HTTP Client session.
  • Chg: Updated to run on SkySpark v3.1.

v2.0 Releases

A bespoke implementation of the HTTP protocol for SkySpark v3.0.x.

v2.0.12

  • New: Option to disable ZLIB header and alder checksum fields in deflate responses. Thanks go to David Binstock for reporting.
  • New: Ability to clear authentication schemes and content decoding.
  • Chg: Better handling of Marker param values passed to afHttpUriPlusQuery().

v2.0.10

  • New: Support for custom HTTP Client (authentication) plugins. Contact Fantom Factory for details.
  • Chg: Updated the underlying afHttpClient library to v2.0.4.
  • Bug: Fixed a bug whereby the opaque parameter in Digest authentication was treated as mandatory. Thanks go to David Binstock for reporting.
  • Bug: Calling afHttpUriPlusQuery() would result in a NPE. Thanks go to David Binstock for reporting.

v2.0.8

  • New: afHttpUriPlusQuery() function for adding query parameters to Uris. Thanks go to Stephen Frank for the suggestion.
  • Chg: Updated the underlying afHttpClient to v0.1.4.

v2.0.6

  • Bug: afHttpReadFromJson() could throw ClassCastExceptions. Thanks go to Joe Firrantello for reporting.

v2.0.4

  • New: Added afHttpReadFromJson() to complement afHttpWriteToJson().
  • New: afHttpClear() now also sets and clears advanced socket options.
  • Chg: Better safeNames key conversion algorithm.

v2.0.2

  • Chg: Reduced the SkySpark dependency down to 3.0.18.

v2.0.0

  • New: Rewrote entire code base to use an all new internal HTTP Client library from Fantom Factory.
  • New: afHttpWriteToJsonStr() function for writing non-Haystack JSON.
  • Chg: Renamed extension from afHttpExt.

v1.0 Releases

An older codebase released under the name afHttpExt.

v1.0.6

  • Bug: Response headers returned a Fantom Map, not an Axon Dict.

v1.0.4

  • New: Created alien ext icon.
  • Bug: Fixed an issue with the extension name.

v1.0.2

  • Chg: Licensing code updated to be compatible with SkySpark v3.0.13.

v1.0.0

  • New: Initial release for BAM Energy Systems.
Published by Fantom Factory

Products & Services by Fantom Factory

Packages by Fantom Factory

Commercial packages

Free packages

Licensing options
Developer Bundle - Junior
Our basic tools under one licence: Folio File Sync, HTTP Client, and Pod Builder
1 year licence
$250.00USD
Developer Bundle - Senior
Our main tools under one licence: Axon Encryptor, Easy Conn, Folio File Sync, HTTP Client, and Pod Builder
1 year licence
$995.00USD
HTTP Client
Powerful Axon functions for making HTTP requests to REST APIs
1 year licence
$95.00USD
2 year licence
$175.00USD
5 year licence
$400.00USD
Package details
Version2.1.14
LicenseCommercial
Build date11 months ago
on 12th May 2023
Requirements SkySpark v3.1.1
Depends on
File nameafHttpClientExt.pod
File size176.04 kB
MD54567711e273b0294ea129b74ed5265c0
SHA1 583c3c5e5af3ac5ee5819042fa429e237b7f4074
Published by
Fantom FactoryDownload now
Also available via SkyArc Install Manager
Tags
Sky Spark
Axon
Fantom