… | … | ||
---|---|---|---|
46 | use AnyEvent::Util (); | 46 | use AnyEvent::Util (); |
47 | use AnyEvent::Handle (); | 47 | use AnyEvent::Handle (); |
48 | 48 | ||
49 | use base Exporter::; | 49 | use base Exporter::; |
50 | 50 | ||
51 | our $VERSION = '2.02'; | 51 | our $VERSION = '2.03'; |
52 | 52 | ||
53 | our @EXPORT = qw(http_get http_post http_head http_request); | 53 | our @EXPORT = qw(http_get http_post http_head http_request); |
54 | 54 | ||
55 | our $USERAGENT = "Mozilla/5.0 (compatible; U; AnyEvent-HTTP/$VERSION; +http://software.schmorp.de/pkg/AnyEvent)"; | 55 | our $USERAGENT = "Mozilla/5.0 (compatible; U; AnyEvent-HTTP/$VERSION; +http://software.schmorp.de/pkg/AnyEvent)"; |
56 | our $MAX_RECURSE = 10; | 56 | our $MAX_RECURSE = 10; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |