Difference between revisions of "Talk:Http response"

From Second Life Wiki
Jump to navigation Jump to search
m (forgot to sign my post)
 
(5 intermediate revisions by 4 users not shown)
Line 6: Line 6:
if you send more than 2048 chars apparently it returns[0,2048] as the metadata list, otherwise []
if you send more than 2048 chars apparently it returns[0,2048] as the metadata list, otherwise []
--[[User:Annie Obscure|Annie Obscure]] 09:49, 11 March 2008 (PDT)
--[[User:Annie Obscure|Annie Obscure]] 09:49, 11 March 2008 (PDT)
== About 499 ==
Some way to know if the 499 is because the timeout or SSL failure...
I have a big trouble with this error, because the response is 499 sometimes but the SQL insert is successful in the database. So... how can i know if the insert (SQL) happen while the return is 499 and the body param is empty?
Thank you.
{{Unsigned|Fermat Euler}}
:Hmm, that is a tricky one. I think you should probably post a message to the SLDev list about this. Good chance it will get noticed by the devs. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 04:15, 1 November 2008 (UTC)
== About 415 ==
This happens when the reply from the remote server is a Content-Type not recognised by the LL server. Such as PLS playlist, XML, JSON, RSS, Atom. - Psyke Phaeton
== Metadata list? ==
What exactly is returned by the metadata list? As far as I can see and test it, it doesn't retrieve anything; its size is always zero.
[[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] 03:38, 22 July 2013 (PDT)
: It only has the one value HTTP_BODY_TRUNCATED defined, you would only expect to see it with pages larger than your HTTP_BODY_MAXLENGTH. For example, following <pre>llHTTPRequest("http://www.google.com/", [], "");</pre> you would see [0, 2048] in the metadata. --[[User:Cerise Resident|Cerise Resident]] 20:56, 22 July 2013 (PDT)

Latest revision as of 19:56, 22 July 2013

Is there a documented size limit?

2048 is the limit Patrick2 Chama 12:00, 14 November 2007 (PST)


if you send more than 2048 chars apparently it returns[0,2048] as the metadata list, otherwise [] --Annie Obscure 09:49, 11 March 2008 (PDT)

About 499

Some way to know if the 499 is because the timeout or SSL failure...

I have a big trouble with this error, because the response is 499 sometimes but the SQL insert is successful in the database. So... how can i know if the insert (SQL) happen while the return is 499 and the body param is empty?

Thank you. —The preceding unsigned comment was added by Fermat Euler

Hmm, that is a tricky one. I think you should probably post a message to the SLDev list about this. Good chance it will get noticed by the devs. -- Strife (talk|contribs) 04:15, 1 November 2008 (UTC)

About 415

This happens when the reply from the remote server is a Content-Type not recognised by the LL server. Such as PLS playlist, XML, JSON, RSS, Atom. - Psyke Phaeton

Metadata list?

What exactly is returned by the metadata list? As far as I can see and test it, it doesn't retrieve anything; its size is always zero.

Gwyneth Llewelyn 03:38, 22 July 2013 (PDT)

It only has the one value HTTP_BODY_TRUNCATED defined, you would only expect to see it with pages larger than your HTTP_BODY_MAXLENGTH. For example, following
llHTTPRequest("http://www.google.com/", [], "");
you would see [0, 2048] in the metadata. --Cerise Resident 20:56, 22 July 2013 (PDT)