6 messages in ru.sysoev.nginxRe: Ajax POST error 405
FromSent OnAttachments
Ferenc-lorant KissNov 20, 2007 12:16 am 
Denis F. LatypoffNov 20, 2007 12:33 am 
Igor SysoevNov 20, 2007 12:48 am 
Ferenc-Lorant KissNov 20, 2007 12:52 am 
Ferenc-Lorant KissNov 20, 2007 12:59 am 
Ferenc-Lorant KissNov 20, 2007 3:02 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Ajax POST error 405Actions...
From:Ferenc-Lorant Kiss (list@public.gmane.org)
Date:Nov 20, 2007 12:52:23 am
List:ru.sysoev.nginx

Denis F. Latypoff wrote:

why aren't you using GET requests instead of POST?

Hello Denis F. Latypoff wrote:

:) I don't use POST but prototype.js (new.Ajax)which i use for AJAX uses.

my js

function _home() { document.getElementById('content').innerHTML = '<div style="font-family : \'sans-serif\'; font-size : 0.7em; padding-top : 25px;">O clip&#259; ... <img src="images/indicator.gif" width="16" height="16" border="0"></div>'; Element.hide('lnk2pct'); !!!! new Ajax.Updater('content', 'src/home.html', {asynchronous:true, evalScripts:true}); !!! return false;

calls prototype.js line 736

this.transport.send(this.options.method == 'post' ? body : null);

Do you know a workaround ?

Thx for reply