projects
/
Net-HTTPS-Any.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.11
[Net-HTTPS-Any.git]
/
t
/
post-netssleay.t
diff --git
a/t/post-netssleay.t
b/t/post-netssleay.t
index
307bdb3
..
9f67384
100644
(file)
--- a/
t/post-netssleay.t
+++ b/
t/post-netssleay.t
@@
-10,11
+10,11
@@
BEGIN {
};
#200
};
#200
-
my($content, $response, %headers) = https_post(
my($content, $response, %headers) = https_post(
- { 'host' => '
secure.sisd
.com',
+ { 'host' => '
www.google
.com',
'port' => 443,
'port' => 443,
- 'path' => '/freeside/index.html',
+ 'path' => '/accounts/ServiceLoginAuth',
+ 'args' => { 'posted' => 'data' },
},
'net_https_any_test' => 1,
);
},
'net_https_any_test' => 1,
);
@@
-27,9
+27,10
@@
ok( length($content), 'Received content' );
#404
my($content2, $response2, %headers2) = https_post(
#404
my($content2, $response2, %headers2) = https_post(
- { 'host' => '
secure.sisd
.com',
+ { 'host' => '
www.google
.com',
'port' => 443,
'port' => 443,
- 'path' => '/freeside/notfound.html',
+ 'path' => '/notfound.html',
+ 'args' => { 'length' => 'required' },
},
'net_https_any_test' => 1,
);
},
'net_https_any_test' => 1,
);