Hi
unfortunately, I did not find a searchable archive, so I post this
question here.
I found that HTTP::Request transforms strings into URI::URL objects that
are stored in the HTTP::Request object. HTTP::Cookies works fine with
these URI::URL objects.
However, HTTP::Request also works with URI objects, but HTTP::Cookies
refuses to work with these requests, due to one difference in the
interface of URI::URL and URI: the URI::URL::epath method is the same as
URI::path in URI
My question is now:
Is URI::URL the only true path to nirwana when using Cookies or should
the two lines in HTTP/Cookies.pm containing
my $req_path = $url->epath;
replaced by something like
my $req_path = $url->can('epath') ? $url->epath : $url->path;
Regards
- Alex