Has anyone else experienced an issue with the Active4D command 'set response header' after upgrading to 4D 2004.4?

I recently upgraded to 2004.4 (due to other major 4D issues), and now I'm having a problem with a few of our Active4D pages. Several of our dynamic pages send back plain text instead of HTML, so I use Active4D's 'set response header' command to change the value of the 'Content-Type' header:

        set response header( "Content-Type"; "text/plain" )

However, since our upgrade to 2004.4, these response pages are coming back with a Content-Type of text/html instead of text/plain. It is as if the 'set response header' is not working for the 'Content-Type' header field. I can use the command to successfully set other headers, just not 'Content-Type'.

Has anyone else experienced this, or is there a more appropriate way to return plain text from a dynamic Active4D page?

4D Version 2004.4 Server/Client
Using 4D's built in web server
Active4D version 3.0

Thanks for any assistance you can provide,

Brett Karopczyc
Bristol Capital, Inc.

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to