|
Kalel Venkman
Citizen
Join date: 10 Mar 2006
Posts: 587
|
09-12-2006 07:19
Maybe somebody's run into this one:
A llHTTPRequest() that works fine in one script, when transplanted verbatim into another script returns 'Error 200' - yet the format and content of the function call is identical in both cases.
Anybody got idea what would cause this? I'm scratching my head over it.
Especially since a '200 error' is supposed to mean the CGI called WORKED, and it returns no results.
In this case, I'm calling Moopf Murray's sldata.com key2name database, using sample code found elsewhere in this forum (or possibly the scripting library forum, I forget which one).
Is there some bug regarding whether you can have more than one llHTTPRequest() call in one script or something?
|
|
Archanox Underthorn
Registered User
Join date: 20 May 2003
Posts: 168
|
09-12-2006 07:30
If you mean thats the status number that gets returned, 200 is a good thing, it means your request was processed without an error.
_____________________
Archatek
Home to some of the highest quality katanas and other blades available in SL. Co-creator of the Samurai Island Combat System, one of the best melee combat systems available, come check it out!
___________________
|
|
Kalel Venkman
Citizen
Join date: 10 Mar 2006
Posts: 587
|
09-12-2006 07:34
I figured that much out - but why wouldn't it be returning actual results instead of just returning an error code?
In the standalone sample provided by Moopf, it works fine.
Maybe the problem is in my event handler, not the function call itself.. hmm...
|
|
Kalel Venkman
Citizen
Join date: 10 Mar 2006
Posts: 587
|
Oops.
09-13-2006 08:35
It was, in fact, in the event handler. The check I was doing to ensure that the response matched the query was failing, so it was returning the error code even though the correct response was received.
Works great now.
|