Why "405 Not Allowed" error is shown during redirection upon form submission?