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