You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ripple.apache.org by br...@apache.org on 2013/07/08 23:00:31 UTC

[24/28] git commit: The PATCH HTTP method is not supported by the XHR proxy.

The PATCH HTTP method is not supported by the XHR proxy.

Fixes: https://issues.apache.org/jira/browse/RIPPLE-27


Project: http://git-wip-us.apache.org/repos/asf/incubator-ripple/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ripple/commit/eac1bc6e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ripple/tree/eac1bc6e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ripple/diff/eac1bc6e

Branch: refs/heads/master
Commit: eac1bc6ea9daeef90eb27395a1225ed70fcc58ea
Parents: dc12603
Author: Brent Lintner <br...@gmail.com>
Authored: Tue Jun 25 16:54:47 2013 -0400
Committer: Brent Lintner <br...@gmail.com>
Committed: Fri Jul 5 17:28:29 2013 -0400

----------------------------------------------------------------------
 lib/server/proxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/eac1bc6e/lib/server/proxy.js
----------------------------------------------------------------------
diff --git a/lib/server/proxy.js b/lib/server/proxy.js
index 2419920..70ce9d8 100644
--- a/lib/server/proxy.js
+++ b/lib/server/proxy.js
@@ -142,7 +142,7 @@ function jsonpXHRProxyHandler(req, res/*, next*/) {
 function start(options, app) {
     var corsOptions = {
         origins: ["*"],
-        methods: ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'TRACE', 'CONNECT'],
+        methods: ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'TRACE', 'CONNECT', 'PATCH'],
         credentials: true,
         headers: []
     };