The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Quiq::Http::Client::Lwp - HTTP Operationen

BASE CLASS

Quiq::Object

METHODS

Klassenmethoden

get() - Führe GET-Request aus

Synopsis

  $data = $class->get($url,@opt);

Options

-debug => $bool (Default: 1)

Gib Request auf STDOUT aus.

-header => $bool (Default: 0)

Ergänze die Antwort um die vom Server gesetzten Response-Header. Per Default wird nur der Rumpf der HTTP-Antwort geliefert.

-redirect => $bool (Default: 1)

Führe Redirection automatisch aus.

-sloppy => $bool (Default: 0)

Wirf im Fehlerfall keine Exception, sondern liefere die Fehlerantwort.

-timeout => $n (Default: 0)

Timeout.

Description

Führe HTTP-Request für URL $url aus und liefere die vom Server gelieferte Antwort zurück.

VERSION

1.165

AUTHOR

Frank Seitz, http://fseitz.de/

COPYRIGHT

Copyright (C) 2019 Frank Seitz

LICENSE

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.