runrev adds http header for free?

Bert Shuler bertshuler at yahoo.com
Fri Jul 18 10:27:48 EDT 2008


The header written by perl shows as html in the browser, because rev  
somehow added a header.


On Jul 18, 2008, at 10:21 AM, Mark Schonewille wrote:

> Hi Bert,
>
> Maybe I don't understand what is going on without looking at your  
> code. At which point do you see unwanted http headers? When you  
> write data to perl or when you read the data into rev? Is it  
> possible that Perl adds the headers, since you're using "print  
> "Content-type: text/html\n\n";"? Maybe you want "print "Content- 
> type: text/plain\n\n";".
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
>  for more info.
>
> On 18 jul 2008, at 16:05, Bert Shuler wrote:
>
>> ok, I thought that was only used when using the URL keyword.
>> I am simply writing to a socket.
>> How would rev even know I was intending to write http?
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list