From 32e5ab7ae9997ac8d4a98ff7edb8a53d14d6aa57 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 13 Jan 2012 16:17:24 -0500 Subject: [PATCH] Fixes #634, documentation of emulateHTTP --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 757bb4ca..2f69a05c 100644 --- a/index.html +++ b/index.html @@ -1754,8 +1754,9 @@ end If you want to work with a legacy web server that doesn't support Backbones's default REST/HTTP approach, you may choose to turn on Backbone.emulateHTTP. Setting this option will fake PUT and DELETE requests with - a HTTP POST, and pass them under the _method parameter. Setting this option - will also set an X-HTTP-Method-Override header with the true method. + a HTTP POST, setting the X-HTTP-Method-Override header + with the true method. If emulateJSON is also on, the true method + will be passed as an additional _method parameter.