Polymer/polymer-ajax — pull request #8 by k33g (2013-12-14 14:08:32+00:00)
Title: Add PUT request support

fix empty request body when PUT request :
Actually :

Client side : (where `xhr` is `` element)

this.$.xhr.xhrArgs = {
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({name:"bob"})
};

Server side : (express sample)

app.put("/buddies/:id", function(req, res){
var updatedBuddy = req.body
res.send(JSON.stringify(updatedBuddy))
});

`updatedBuddy` equals `{}`

with fix, we've got `updatedBuddy` equals `{name:"bob"}`