View Single Post
  #4 (permalink)  
Old 08-07-2008, 22:12
MarkP MarkP is offline
new member
 
Join Date: Jan 2008
Posts: 4
Default

Thanks for replying.
I have read through the pages referenced but I am not sure what I need to do.
the second page seems to be about what to do when the script receiving xml gets it in the wrong encoding.

My problem seems to be it doesn't get that far and I just get index.php sent back to me unless I turn off mod_security.

these are the first headers that are sent
it dose have the
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
which seems to be different from other browsers
but i don't understand what I need to change

Code:

POST /**** HTTP/1.1
Host: ******
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: ******
Content-Length: 33
Pragma: no-cache
Cache-Control: no-cache
***what ever i sent here


HTTP/1.x 302 Found
Date: Tue, 08 Jul 2008 21:10:37 GMT
Server: Microsoft-IIS/5.0
Location: /
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
p.s why dose the server say it is Microsoft-IIS not apache?
Reply With Quote