When using PUT mootools ajax request sent like this:
new Request.HTML({
emulation: false,
url: '/test',
onSuccess: function(data){
alert(data);
}}).put({key: 'value'});
In Firebug console put tab of the request outputs "key=value" - so i
think request is correct and data is sent,
but web.input() returns empty dict.
However, everything works when 'put' is replaced with 'post'.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---