|
Posted by Rami Elomaa on 04/26/07 15:09
xu.devel@googlemail.com kirjoitti:
> Hello,
>
> a browser will download the file test.php instead of to display it, if
> the content type is text/x-json.
>
> Is it possible to display the text in the browser?
>
Yes, set the content-type to something the browser can handle
(text/plain, for example) instead of text/x-json.
--
Rami.Elomaa@gmail.com
"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Navigation:
[Reply to this message]
|