public
Description: A async HTTP client using the AnyEvent framework
Clone URL: git://github.com/melo/anyevent--http.git
Fix `http_post()`: the URL needs to be preserved

Signed-off-by: Pedro Melo <melo@simplicidade.org>
melo (author)
Sat Jun 28 10:36:23 -0700 2008
commit  988fb03b2eb1b03ec8b5720daaccb584a0ffa12d
tree    f3374c08d813d762bfc6026210b1f643e9b5f947
parent  4f708576df17effc8aaec09962de1874932e20f3
...
468
469
470
471
 
 
472
473
474
...
468
469
470
 
471
472
473
474
475
0
@@ -468,7 +468,8 @@ sub http_head($@) {
0
 }
0
 
0
 sub http_post($$@) {
0
- unshift @_, "POST", "body";
0
+ my $uri = shift;
0
+ unshift @_, "POST", shift, "body";
0
    &http_request
0
 }
0
 

Comments

    No one has commented yet.