Move post_url
move post_url function
This commit is contained in:
@@ -133,7 +133,7 @@ class Salmon
|
||||
$salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
|
||||
|
||||
// slap them
|
||||
post_url($url, $salmon, [
|
||||
Network::postURL($url, $salmon, [
|
||||
'Content-type: application/magic-envelope+xml',
|
||||
'Content-length: ' . strlen($salmon)
|
||||
]);
|
||||
@@ -159,7 +159,7 @@ class Salmon
|
||||
$salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
|
||||
|
||||
// slap them
|
||||
post_url($url, $salmon, [
|
||||
Network::postURL($url, $salmon, [
|
||||
'Content-type: application/magic-envelope+xml',
|
||||
'Content-length: ' . strlen($salmon)
|
||||
]);
|
||||
@@ -182,10 +182,9 @@ class Salmon
|
||||
$salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
|
||||
|
||||
// slap them
|
||||
post_url($url, $salmon, [
|
||||
Network::postURL($url, $salmon, [
|
||||
'Content-type: application/magic-envelope+xml',
|
||||
'Content-length: ' . strlen($salmon)]
|
||||
);
|
||||
'Content-length: ' . strlen($salmon)]);
|
||||
$return_code = $a->get_curl_code();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user