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