libwww-perl / WWW-Mechanize

Handy web browsing in a Perl object
https://metacpan.org/pod/WWW::Mechanize
Other
68 stars 52 forks source link

drop CGI and HTTP::Server::Simple::CGI test dependencies #327

Closed haarg closed 2 years ago

haarg commented 2 years ago

CGI.pm was used for parsing query parameters, but we already have a URI object, which can provide the same thing.

HTTP::Server::Simple::CGI is an extra dependency, and adds an indirect dependency on CGI. We already require HTTP::Daemon, so convert the TestServer module to use it, and adjust the cookies.t test to not use the CGI object.