Thread Pendant zu LiveHTTPheaders (36 answers)
Opened by YippyYappo at 2008-01-24 18:03

renee
 2008-01-25 16:47
#105167 #105167
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Also ich weiß ja nicht, was Dir be
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl

use strict;
use warnings;
use Data::Dumper;
use LWP::UserAgent;

my $ua = LWP::UserAgent->new();
my $response = $ua->get( 'http://en.wikipedia.org/wiki/Image:Mash-season1-dvd-cover.jpg' );

my $obj = $response->headers;

for my $head ( $obj->header_field_names ){
    print "$head: ", $obj->header( $head ),"\n";
}
fehlt...
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Pendant zu LiveHTTPheaders