HTTP
Overview
HTTP and HTTPS location implementation for Qwiratry.
This module registers itself for both http:// and https:// URI schemes.
Source locations issue GET requests and return the response body as text.
Destination locations issue POST requests and return the original content
after the side effect, matching Qwiratry's file destination behavior.
HTTP redirects are delegated to HTTP::Tiny. Non-success responses, including
4xx and 5xx statuses, are reported as X::Qwiratry::IO::LocationError.
Methods
read(Str $location)
Issue a GET request for $location and return the response body as text.
write(Str $location, Mu $content)
Issue a POST request to $location with $content as the request body
and return the original content.