This got to be a post.
authorJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 10:25:38 +0000 (12:25 +0200)
committerJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 10:25:38 +0000 (12:25 +0200)
framework/Release/lib/Horde/Release.php

index e24a29f..44c7ae3 100644 (file)
@@ -681,9 +681,9 @@ class Horde_Release
                            'release' => $params);
         $http = new Horde_Http_Client();
         try {
-            $response = $http->put('http://freshmeat.net/projects/' . $this->notes['fm']['project'] . '/releases.json',
-                                   Horde_Serialize::serialize($fm_params, Horde_Serialize::JSON),
-                                   array('Content-Type' => 'application/json'));
+            $response = $http->post('http://freshmeat.net/projects/' . $this->notes['fm']['project'] . '/releases.json',
+                                    Horde_Serialize::serialize($fm_params, Horde_Serialize::JSON),
+                                    array('Content-Type' => 'application/json'));
         } catch (Horde_Http_Client_Exception $e) {
             throw new Horde_Exception($e);
         }