Re: [json] Announcing web_send: a browser shell for JSON resources
- On Thu, May 7, 2009 at 10:51 AM, Kris Zyp <kriszyp@...> wrote:
> This looks really cool.Thanks!
> Have you tried it with existing servers to seeThe implementation currently supports GET and POST to an arbitrary URL
> how compatible it is with current implementations of HTTP/JSON servers?
> This data interaction aspect of this looks similar to the functionality
> in Dojo's JsonRestStore, which can interact with CouchDB and Persevere.
> It'd be curious if your browser shell works with Persevere, as Persevere
> follows RFC 2616 pretty closely as well as some of the RESTful JSON
> conventions discussed here, such as JSON referencing:
with an arbitrary JSON request entity and an arbitrary JSON response
entity. Non-success HTTP response codes trigger the provided failure
Is there some aspect of Persevere's implementation of RFC 2616 that
could be problematic for a client implemented on the browser's
All JSON encoding/decoding is done using whatever JSON object is in
the global scope. It looks like you could use your JSON referencing
code by importing it instead of json2.js.
"Waterken News: Capability security on the Web"