Revision history for HTTP-Tiny
0.2.5 - 2023-02-01T21:31:25+00:00
- Ensure tempfile handles are closed early in the 'mirror' method,
to solve an issue on Windows with renaming a file that had open
handles.
- Fixed an issue in 'mirror' that meant exceptions raised while
executing 'touch' to set the modified time of the file ((eg. when
trying to run it on a platform where it doesn't exist) were not
caught.
0.2.4 - 2022-09-20T14:09:49+01:00
- No changes since last release, which was not indexed.
0.2.3 - 2022-09-15T16:22:11+01:00
- Fixed an issue that would duplicate headers set as arguments
with non-lower-cased names
0.2.2 - 2022-08-02T23:59:26+01:00
- Allow named options anywhere in rakurl
- Allow empty values to --read-cookie in rakurl
- Enforce path argument to --read-cookie is a Netscape cookie file
0.2.1 - 2022-07-25T22:25:06+01:00
- Add cookie support to rakurl utility
- Fix broken links in documentation
- Add WWW to the See Also list
0.2.0 - 2022-07-23T16:26:43+01:00
- Add initial support for cookies, based on external classes like
Cookie::Jar.
0.1.10 - 2022-06-21T13:25:33+01:00
- Fixed an issue in 'mirror' where the file's modified time would
not respect the local timezone.
- Added partial support for the -z flag in rakurl: it can now be
used to read the modified time from the specified file, which
will be used in the If-Modified-Since header.
- Fixed the modules version line, which was left unchanged in the
last release.
- Fixed an issue where redirected requests would sometimes include
headers that had been rendered stale. Specifically, this affected
POST requests that resulted in a 303 See Other response and became
GET requests: they would continue to have content-specific headers
(eg. Content-Length) which would now not make sense because no
content was sent. These headers are now removed as per
RFC 9110 § 15.4.
- The documentation has been updated to reflect the fact that in
those requests the content is not forwarded.
0.1.9 - 2022-06-15T23:08:55+01:00
- Fixed an issue that would cause some requests to hang when
setting content to an empty (but defined) Blob.
- Fixed an issue where headers that were defined but evaluated
to false would not be included in the request.
- Expanded examples to illustrate how to send binary data that
was read from disk.
- Added the default value for keep-alive more systematically in
the docs.
0.1.8 - 2021-02-19T21:12:25Z
- Fixed an issue which could cause hangs when reading trailers
in chunked respons
- Added some rudimentary charset parsing to rakurl so it does
not attempt to decode all responses as UTF-8
- When running multiple async HTTPS requests, protect against
trying to close a socket that has already been closed
- Fixed some typoes
0.1.7 - 2021-01-09T20:17:01Z
- Fixed an issue in 'mirror' introduced in 0.1.5 which
made that function accidentally too greedy when catching
exceptions. This was evident when using together with the
:throw-exceptions flag.
- Move release to zef ecosystem. Auth has changed to zef:jjatria
0.1.6 - 2021-01-02T11:42:22Z
- Fixed an issue in 'mirror' when setting last-modified
months, which would cause an exception if the date was in
January. (jraspass++)
0.1.5 - 2020-11-30T23:45:26Z
- Added a note on the documentation that mirror will not
create the parent directories leading to the target file.
The user must make sure the path exists before calling.
- Using mirror with the `throw-exceptions` flag enabled no
longer throws an error on 304 responses.
0.1.4 - 2020-11-28T11:05:23Z
- Add --version to rakurl to print package and compiler
version, as well as supported protocols
0.1.3 - 2020-11-27T21:35:48Z
- Fix an issue with the rakurl utility which made it unable
to set multiple headers from the command line
- When using --user in rakurl, use Terminal::Getpass to
avoid displaying user input if possible. Falls back to
built-in `prompt` with a notice about the password being
displayed
0.1.2 - 2020-11-18T21:31:18Z
- Do not read more than the specified content-length
when reading responses. This issue could hang when using
persistent connections, introduced in 0.1.1
0.1.1 - 2020-11-08T14:50:41Z
- Support persistent connections by default
- Generate User-Agent string from class name for better
subclass support (jraspass++)
0.1.0 - 2020-11-01T17:51:59Z
- Decode headers as ISO-8859-1 instead of ASCII to prevent
exceptions on UTF-8 header values.
0.0.1 - 2020-10-28T23:47:09Z
- Initial version