Readers: 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
use strict; use warnings; use LWP; my $DEBUG = 1; my $browser = LWP::UserAgent->new; my $can_accept = HTTP::Message::decodable; my $url = 'http://www.gwendragon.de/css/standard.css'; my $response = $browser->get($url, #'User-Agent' => 'Opera/9.60 (Windows NT 5.1; U; de) Presto/2.1.1', #'User-Agent' => 'Mozilla/4.76 [en] (Win98; U)', 'User-Agent' => 'Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9', #'User-Agent' => 'Mozilla/4.06 (compatible; MSIE 4.06; Windows 95)', 'Accept' => 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*', 'Accept-Charset' => 'iso-8859-1,*,utf-8', 'Accept-Language' => 'de-DE', 'Accept-Encoding' => 'gzip', ); $DEBUG && print "DEBUG#### ", $can_accept, "\n"; print "GET ", $response->request->uri->as_string, "\n", $response->request->headers_as_string, "\n", $response->content;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEBUG#### gzip, x-gzip, deflate, x-bzip2
GET http://www.gwendragon.de/css/standard.css
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: de-DE
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9
▼ ♥ÑXÙn█6¶■m?♣ß¼@←DÂýÍi,ú├Æ┤Cç§♥♠t↑ð6♥(ëÆ©ðñBQqÊóo▓þÏ»²ÙïÝ∟ÆÍ═n╗b.jYççþã´\ÿ▼ÆéÛè↓2ßò
╬╬û½`>YÅÃà‗a<┌‗ȶ◄Öçßâ§xT0×↨ã┐ÆÅÒq¼Ê{dKöP:"▒á╔5eJÜáÔ´ÖeØå¾;bF7\▄Gõ5-Èå×És═®8!/Ö©eå'@®¿¼éèi×┴▲┴%♂→¡Ë%ÉbPækU╦4ZÀ♣7♀WÈ↔*Õ2KöNÖ♫Ç┤&ÒQIËÈÆC`█PØs ┐ºKÂ▒^╠ı3&Ãús!r
Âaáò╝a<)ÿ╠öÌP├`◄?│q|ç l♥_òÐJµõC#♦e╝Ô‗║r³│1ì└àkÓÂ▲àaå:it╦+0;mùfÃG½ıÚ·xFÄ╬B³8¥B¦2mUðê&å▀▓Ä┤ý▒Òz[hû}¸l2-Ëlrà'Êå)"Á▬☼g1↨►æ↓0Ls×="R♣Üòî→{Ü62>Lüv±^äÕ]+²Ågô┬ÿ2Ü═&W'ñG
É+®fʼ{X┴cÑQªÆ║éÿ´♥´(╦V↔ ßÚôÐàuÅx└ ♦°&À→↔"+s/ -ñƼ¦è▄úO⌂┼LWI☺╚7LÆ↔éè9¯¯fÈ®K¥b1\xé♂;ÇFò@s►/▲☼y↨¹╝♂¤¹d╚Ù│¢X☻õïË┴Û╩-Ä┌ )S♂êgÿF©▒ë«7î╦▓6ØBCkú→·[s_▓gU↔o©┴S#qaîHÑ♦O╔
ó╝#╣ª¸k╗û E☺+▬2Ó∟Æ╝⌂;¶üÊÅc♥ð♥ÙáÍt┤ ±¬Ga←╩Eƒ♦°Ý‼JZU[░Þj►ö]┴▄ð╗└{vµÔ┤S̱¨ÚS╗Æq&R,┼Ý╩Ö§Êwy♫.♥Þ2♀鱶4fÂp¹û!¿¢╝à7¬←‼W♠█äïò1jËÊÐÓÇ
L¿õ·♠↨{¨hÅ█óÞ0ÓV6☻8▬Dé╩³a╩▲ß~+¿è╚õ¦"£┐ÿ©þÑ⌂×¹þ┘d©7©|┘¦>y↨åþ↨╚↔å↨↨nÎÒò⌂×☼v3┘▀┌Q°╝QÞ×½┴ÍL´k┼»ð®>☼{·¹+ì%¡ ▀ôøoîA¤ ■÷ ►âÍ ßÍ»ã᧠ÉÍoÄ┴ìà█M¶3(♣╠MÇ↕║ûëT╔d`à[¥êB3Ë]åD¿
èÁ∟Òä;$÷ã2☼─>:üÉ‗¬¶¶▲'M@qº´îGÃú↨\fƒ■╔kÖ¤^}·←:)³☻║E}èU◄3↑2ËV┤ö%J█"¶┘^lÎ→⌂♫▓ý< ô▀╩¶r
~|▄ì}Épù*e♦ÆØ▄*ݪF╬4: →ä5ÚWj╚Ý♦Y?♀FÔKUkÄàjÔ⌂æ_ÏvrB6J*↑O↕Â7X?X¸¹µüÇaÚâV░m8¼g[Mí▀Wu ÍT§åÐYD♫↨¡%■├ia┐0ϵ█╠◄QH×└ßà«←Ý▼Î×=ì╠@ËöÎÉDºn╬+±¶\E#[♠►üwÿîÃÓ▼Ü▄Â█¦8♣±▬¦
Y╠▬΃×W÷D~▬ðºíã☻<4◄*þ ♫F╬cxHn ⌂┤╬╚´,ãë╝3┤∟┴XtBªì··w◄0│⌂∟ûðÇx=©tt¸YÈ▲a↨t¢÷└@5ÈÂý4¯×t7╣Ø↔ýÓ~$Þj¬Eøj☺÷l'l7ê©◄e░Ap▄Ë∟%ùh→F┌1·Þt∟pSKwnp‼┘g┴·╣«Sq©§Û♥ Úzå·╗n9Å♦»<8☻∟È
³└}¿Çtà8W╗r♠n[äßÄ?ÙM9=‗u┴mmµ¢eÏ╗]┌→A:¸KÅI_↑►näîºh♀┌Nl26û4┘Ê¢Ø|╬KP:♣§´↓H╩¸ækÎ‼UÌ█S¨‗ݦ☼¡V\me┘cÕ2Áàp^&ØÕé2Ö├M♂M´╠Ì♫fûıÆ{↕éØê¸èE¤4J<v↕X@►©Zð╦õZVpG71^5ê+p↕¥!↨┤Ô§£Ü
é½♣─uZ]s╠Òû¦N>
▓↔k;í1@«Â⌂B)as┘fV░Z¡ý█¯☼!÷Ñ_♣♫¶åÂ╠§<♣Oг⌂☺↕´Î─k◄
2010-04-26T13:09:09 GwenDragonVielleicht hat irgendein Perl-gzip-Modul einen Hau weg.
2010-04-26T14:09:41 GwenDragonDas Skript war ja nur ein Testskript, um von einer mir bekannten Quelle das Verhalten zu überprüfen, wenn ich was an den Server sende.