Subject: Re: [vwrap] identifying a malformed LLSD request with HTTP binding

From: Mark Lentczner <[email-masked]>
Date: Thu, 1 Apr 2010 11:18:20 -0700

On Mar 29, 2010, at 3:45 PM, Robert G. Jakabosky wrote:

On Monday 29, Meadhbh Hamrick wrote:
> so assuming there is consensus to reject malformed LLSD messages,
> allow me to ask, how do we signal the fact that a server receiving a
> HTTP request believes the message was malformed?
> 
> reply with a 400 : Bad Request ?

This looks right to me. It should probably be called out in Foundation. However, since we aren't likely to mandate any particular action in response to a 400, I'd suggest we don't define what the response body should contain. If an implementation wants to provide details, it can, but clients shouldn't expect that the response body with a 400 status will be LLSD, or even given. It might very well be text or HTML.

	- Mark

Mark Lentczner
Sr. Systems Architect
Technology Integration
Linden Lab

[email-masked]

Zero Linden
[email-masked]