]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - extlib/HTTP/Request2/MultipartBody.php
INSTALL docs updated, htaccess.sample more generic
[quix0rs-gnu-social.git] / extlib / HTTP / Request2 / MultipartBody.php
index d8afd8344ced33963714a68889df0e50cb2b99ee..a7bd948bafe4e90bc7295b8f83e7ac64dff6a857 100644 (file)
@@ -6,7 +6,7 @@
  *\r
  * LICENSE:\r
  *\r
- * Copyright (c) 2008, 2009, Alexey Borzov <avb@php.net>\r
+ * Copyright (c) 2008-2011, Alexey Borzov <avb@php.net>\r
  * All rights reserved.\r
  *\r
  * Redistribution and use in source and binary forms, with or without\r
@@ -37,7 +37,7 @@
  * @package    HTTP_Request2\r
  * @author     Alexey Borzov <avb@php.net>\r
  * @license    http://opensource.org/licenses/bsd-license.php New BSD License\r
- * @version    CVS: $Id: MultipartBody.php 287306 2009-08-14 15:22:52Z avb $\r
+ * @version    SVN: $Id: MultipartBody.php 308322 2011-02-14 13:58:03Z avb $\r
  * @link       http://pear.php.net/package/HTTP_Request2\r
  */\r
 \r
@@ -50,7 +50,7 @@
  * @category   HTTP\r
  * @package    HTTP_Request2\r
  * @author     Alexey Borzov <avb@php.net>\r
- * @version    Release: 0.4.1\r
+ * @version    Release: 2.0.0RC1\r
  * @link       http://tools.ietf.org/html/rfc1867\r
  */\r
 class HTTP_Request2_MultipartBody\r
@@ -172,7 +172,7 @@ class HTTP_Request2_MultipartBody
         while ($length > 0 && $this->_pos[0] <= $paramCount + $uploadCount) {\r
             $oldLength = $length;\r
             if ($this->_pos[0] < $paramCount) {\r
-                $param = sprintf($this->_headerParam, $boundary, \r
+                $param = sprintf($this->_headerParam, $boundary,\r
                                  $this->_params[$this->_pos[0]][0]) .\r
                          $this->_params[$this->_pos[0]][1] . "\r\n";\r
                 $ret    .= substr($param, $this->_pos[1], $length);\r