summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/HTTP_POST_multipart.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HTTP_POST_multipart.php b/src/HTTP_POST_multipart.php
index 5fb806b..64689bf 100644
--- a/src/HTTP_POST_multipart.php
+++ b/src/HTTP_POST_multipart.php
@@ -121,6 +121,11 @@ class HTTP_POST_multipart {
return array($boundary, $bd . implode($bd, $postParts) . $final_bd);
}
+ public function dump() {
+ list(/* skip */, $content) = buildPost($this->_parts);
+ return $content;
+ }
+
public function post($url) {
list($boundary, $content) = buildPost($this->_parts);