> On 17. Oct 2019, at 19:27, Lagi Pittas via use-livecode > <use-livecode@lists.runrev.com> wrote: > > HI Ralph > > Basically the server script does this > > put arrayEncode($_SERVER) and sends back everything within the $_SERVER > variable > we then decode it in the App .... > > It gives us everything shown in the documentation but not the header info > > > - GATEWAY_INTERFACE > - SERVER_ADDR > - SERVER_NAME > - SERVER_SOFTWARE > - <SNIP> > - SCRIPT_NAME > - SCRIPT_FILENAME > - CONTENT_TYPE > - CONTENT_LENGTH > > But not the headers > > Hope that helps > > Lagi
OK, in case you are interested in all the headers the server sends in response to a request you might indeed probably find the answer by checking out the code in revliburl.livecodescript. But just including the script only stack (using “start using stack”) won’t work right away. Seems there are modifications needed to be able to get a value from libURLLastRHheaders(). Would be glad to be wrong. Ralf _______________________________________________ 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