I wonder why the POST becomes a GET

On Fri, Oct 1, 2010 at 8:05 PM, Jesper Staun Hansen
<jes...@staunhansen.dk>wrote:

> And done:
> ----------------------------------- Javascript
> var parameters = "test=1&emailaddress=whiteldav...@fastmail.us";
> var req = new XMLHttpRequest();
> req.open('POST', 'http://thunderplunger.mozdev.org/validateEmail.php',
> false);
> req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
> req.setRequestHeader("Content-length", parameters.length);
> req.setRequestHeader("Connection", "close");
> req.send(parameters);
> ----------------------------------- HTTP Response
>
>
> http://thunderplunger.mozdev.org/validateEmail.php
>
> POST /validateEmail.php HTTP/1.1
> Host: thunderplunger.mozdev.org
>
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; da; rv:1.9.2.10)
> Gecko/20100914 Firefox/3.6.10
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: da,en-us;q=0.7,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: close
> Content-Type: application/x-www-form-urlencoded; charset=UTF-8
> Content-Length: 44
>
> X-Forwarded-For: 12.13.14.15
> Pragma: no-cache
> Cache-Control: no-cache
>
> test=1&emailaddress=whiteldav...@fastmail.us
> HTTP/1.1 302 Found
> Server: nginx/0.7.62
> Date: Fri, 01 Oct 2010 18:04:17 GMT
>
> Content-Type: text/html; charset=iso-8859-1
> Connection: close
>
> Location: http://thunderplunger.mozdev.org/validateEmail.php.html
> Content-Length: 314
> ----------------------------------------------------------
>
> http://thunderplunger.mozdev.org/validateEmail.php.html
>
> GET /validateEmail.php.html HTTP/1.1
> Host: thunderplunger.mozdev.org
>
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; da; rv:1.9.2.10)
> Gecko/20100914 Firefox/3.6.10
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: da,en-us;q=0.7,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> X-Forwarded-For: 12.13.14.15
> Pragma: no-cache
> Cache-Control: no-cache
>
> HTTP/1.1 500 Missing or incorrect access key
>
> Server: nginx/0.7.62
> Date: Fri, 01 Oct 2010 18:04:17 GMT
> Content-Type: text/html
> Connection: keep-alive
> X-Powered-By: PHP/5.2.12
> Status: 500 Missing or incorrect access key
> Content-Length: 91
> ----------------------------------------------------------
>
>
>
> On Fri, Oct 1, 2010 at 7:55 PM, Pete Collins <p...@mozdevgroup.com> wrote:
>
>>  Maybe when someone gets a chance, they can create a simple form POST test
>> web ".php" page and ensure redirect is working properly.
>>
>> Thanks
>>
>>
>> --pete
>>
>> --
>> Pete Collins - Founder, Mozdev Group Inc.
>> www.mozdevgroup.com
>> Mozilla Software Development Solutions
>> tel: 1-719-302-5811
>> fax: 1-719-302-5813
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners@mozdev.org
>> https://www.mozdev.org/mailman/listinfo/project_owners
>>
>
>
_______________________________________________
Project_owners mailing list
Project_owners@mozdev.org
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to