Thread Installation von LWP::Parallel::UserAgent (14 answers)
Opened by bianca at 2016-01-11 10:49

Linuxer
 2016-01-12 16:47
#183493 #183493
User since
2006-01-27
3872 Artikel
HausmeisterIn

user image
CPAN:HTTP::Request benutzt CPAN:HTTP::Headers, das beispielsweise eine Methode authorization_basic() kennt, um User/Passwort zu definieren.

perldoc HTTP::Request
$r = HTTP::Request->new( $method, $uri, $header, $content )

Constructs a new HTTP::Request object describing a request on the object $uri using method $method. The $method argument must be a string. The $uri argument can be either a string, or a reference to a URI object. The optional $header argument should be a reference to an HTTP::Headers object or a plain array reference of key/value pairs. The optional $content argument should be a string of bytes.


Die Frage bleibt aber offen, ob Dir Basic Authentication reicht, oder ob Du da noch was anderes brauchst/suchst... Schau Dir also mal CPAN:HTTP::Headers an.
Last edited: 2016-01-12 17:55:56 +0100 (CET)
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread Installation von LWP::Parallel::UserAgent