So basically you just need to trick it into recognizing your user agent it
seems.
As far as getting into the authorized parts of your site,
libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr & "Authorization: Basic "
& base64Encode("username:password") & cr &"User-Agent: Mozilla/5.0 (Windows
NT 6.
Hi Andrew,
That must be it. The httpHeaders (or libUrlCustomHttpHeaders) are empty
by default. However, if I check the user agent by connecting to a PHP
script on my server, the server says the agent is "Revolution (MacOS)"
or "LiveCode (MacOS)", even though the httpHeaders are empty.
--
Bes
What does livecode's user-agent read as by default? Is it possible that the
shoutcast server is not recognizing the user agent livecode presents and
therefore not sending data?
on mouseUp
libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr &"User-Agent:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537
1. Request URL:
http://stream-11.streamsolutions.co.uk:9428/
2. Request Method:
GET
3. Status Code:
200 OK
4. Request Headersview source
1. Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
2. Accept-Encoding:
gzip,deflate,sdch
Hi Tim,
Check the result. The result says: "error No header received". I don't
know if this means that LiveCode decided not to handle the data or that
no data is received or that the server expected a header and doesn't get
any from LiveCode and hence doesn't send data.
--
Best regards,
Mar
Not for the basic page. If I want to get at the statistics on the
admin page, (which eventually I'd like to do), I would need to
send a user name and password.
But first I tried to simply get the public page and failed.
Thanks,
Tim
On 7/9/13 12:00 AM, Andrew Kluthe wrote:
Your url doe
Your url doesn't require any authentication does it?
On Mon, Jul 8, 2013 at 9:53 AM, Tim Selander wrote:
> Hi,
>
> I have a little shoutcast radio station, and wanted to play around with
> the data that shows up on the html page.
>
> LC is not successfully getting the URL. It gets other URL/pag
Hi,
I have a little shoutcast radio station, and wanted to play
around with the data that shows up on the html page.
LC is not successfully getting the URL. It gets other URL/pages
for me just fine, but not the shoutcast page. The shoutcast URL
is followed by a port number. Is that what is t