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