Re: RE: [pushlet] Digest Number 267
"Asynch Messaging" <[email protected]> Fri, 30 Jan 2004 21:19:03 -0800
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
> > > We also support a variety of non-JavaScript clients, from Python to > > > Perl to PHP, and Java and Ruby and C. For these clients we have a > > > simpler data format that doesn't require JavaScript or HTML parsing. > > Since 1.0 Pushlets support the "format" parameter where on subscription > > the client can indicate the data encoding to be received. Supported > > formats are "js" (JavaScript, default), "xml" and "ser" (serialized Java > > objects). So a client may even use telnet to receive XML events. > > That's really cool. Ours is called kn_response_format and the formats > we support presently are "js" (JavaScript, default), "simple" (header > value pairs in RFC822-like format), and "flash" (Flash, only supported > in the Python version of our PubSub Server). Is the 'js' format really HTML + JS? You know, there are IANA registered mime types for those. http://www.iana.org/assignments/media-types/ And HTTP request headers for requesting them too. Accept: text/javascript; text/ecmascript; text/xml; message/rfc822; application/x-java-serialized-object; Apparently text/javascript; text/ecmascript; are not yet registered. http://www.websitedev.de/ietf/draft-hoehrmann-script-types-00.txt ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn