OSDN Git Service

Added a comment for TrackBack ping
authorhenoheno <henoheno>
Sun, 10 Apr 2005 08:30:34 +0000 (17:30 +0900)
committerhenoheno <henoheno>
Sun, 10 Apr 2005 08:30:34 +0000 (17:30 +0900)
lib/proxy.php

index 8e87963..6538291 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: proxy.php,v 1.3 2005/04/10 07:04:13 henoheno Exp $
+// $Id: proxy.php,v 1.4 2005/04/10 08:30:34 henoheno Exp $
 //
 // HTTP Proxy related functions
 
@@ -55,6 +55,7 @@ function http_request($url, $method = 'GET', $headers = '', $post = array(),
        $query .= $headers;
 
        if (strtoupper($method) == 'POST') {
+               // 'application/x-www-form-urlencoded', especially for TrackBack ping
                $POST = array();
                foreach ($post as $name=>$val) $POST[] = $name . '=' . urlencode($val);
                $data = join('&', $POST);