If this is something that you're pushing from the server to the cliet, you can 
use the 'put header' variant of the 'put' command to extend the HTTP headers.

HTH,

Jan Schenkel. 
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


----- Original Message -----
From: paolo mazza <mazzapaoloit...@gmail.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: 
Sent: Monday, April 22, 2013 3:29 PM
Subject: Internet headers of LiveCode CGI

Hi all,

I have a question concerning the LiveCode Server CGI.


The internet Headers of the answer to a POST request is the following:


HTTP/1.1 200 OK

Date: Mon, 22 Apr 2013 13:18:23 GMT

Server: Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8r

Transfer-Encoding: chunked

Content-Type: text/html; charset=macintosh


For some reasons I have to add this line of text:

Access-Control-Allow-Origin: *


How can I modify the default settings?

Am I supposed to modify some configurantion files of Apache or can I set
the internet headers of the CGI using a LiveCode function?


All the best


Paolo
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to