cvs: pear /SOAP/Transport HTTP.php
| From: | Arnaud Limbourg | Date: | Mon, 08 Sep 2003 17:15:04 +0000 |
| Subject: | cvs: pear /SOAP/Transport HTTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12547@lists.php.net to get a copy of this message | ||
arnaud Mon Sep 8 13:15:04 2003 EDT
Modified files:
/pear/SOAP/Transport HTTP.php
Log:
* headers were cleared before sending data loosing the credentials if
set
* phpdoc & cosmetics
Index: pear/SOAP/Transport/HTTP.php
diff -u pear/SOAP/Transport/HTTP.php:1.38 pear/SOAP/Transport/HTTP.php:1.39
--- pear/SOAP/Transport/HTTP.php:1.38 Tue Aug 5 12:48:29 2003
+++ pear/SOAP/Transport/HTTP.php Mon Sep 8 13:15:04 2003
@@ -16,7 +16,7 @@
// | Authors: Shane Caraveo <Shane@Caraveo.com> |
// +----------------------------------------------------------------------+
//
-// $Id: HTTP.php,v 1.38 2003/08/05 16:48:29 arnaud Exp $
+// $Id: HTTP.php,v 1.39 2003/09/08 17:15:04 arnaud Exp $
//
/**
@@ -36,7 +36,7 @@
* HTTP Transport for SOAP
*
* @access public
- * @version $Id: HTTP.php,v 1.38 2003/08/05 16:48:29 arnaud Exp $
+ * @version $Id: HTTP.php,v 1.39 2003/09/08 17:15:04 arnaud Exp $
* @package SOAP::Transport::HTTP
* @author Shane Caraveo <shane@php.net>
*/
@@ -134,16 +134,14 @@
/**
* send and receive soap data
*
- * @param string &$msg outgoing post data
- * @param string $action SOAP Action header data
- * @param int $timeout socket timeout, default 0 or off
+ * @param string outgoing post data
+ * @param array options
*
* @return string|fault response
* @access public
*/
- function &send(&$msg, /*array*/ $options = NULL)
+ function &send(&$msg, $options = null)
{
- $this->headers = array();
if (!$this->_validateUrl()) {
return $this->fault;
}