Click to see more posts by TD GoodliffeLSL will receive HTTP support

Group member Lestat shared this forum post with me: SL is getting HTTP support (forum registration required):

key llHTTPRequest(list request, string body);

– initiates an HTTP request: the request list contains parameters and values, the body is the body of the request. The supported parameters are:

  • HTTP_URL string — must start “http://”
  • HTTP_METHOD string — one of “GET”, “PUT” or “POST”; “GET” is the default if this parameter is absent
  • HTTP_MIMETYPE — “text/plain” is the default if this parameter is absent; note: the charset is always UTF-8

And the proposed response:

htttpresonse(key id, integer status, list headers, string body) { … }
— the event handler that is invoked when the response from a request is returned, or if the request is aborted. The status, is the HTTP status code. The headers list is a sequence of header names, values.

This is much needed to get over the clumsy email and XML RPC. This change will be welcomed for my blog terminals work in progress project. As for ETA? It seems a bit murky by the thread, particulary with the statement:

Please keep in mind, this design is in early stages, and I can’t make promises or predications about features or timeline just yet.

This will be a server-side implementation, not client side, but apparently that’s on the table too, also:

It would probably use CURL (http://curl.haxx.se/), which is already used elsewhere in our servers.

I. Can’t. Wait!

March 30th, 2006 • TD Goodliffe • Programming, Second Life

Leave a comment

Comment

You


Read more

« Amazon CEO kicking it in Second Life?
Solar Voodoo or LL Bug? »