Pure Danger Tech


navigation
home

XML schema for representing HTTP headers

17 May 2006

Interesting Interesting over at Martin’s blog about using XQuery to return a full HTTP response (HTTP headers + content) directly from XQuery in order to use XQuery as a web scripting language. Interesting idea.  Seems obvious to have an XML schema representation for HTTP but can’t say I’ve seen one.

After quick search I found the following XML schema representation (part of Jabber) to represent HTTP request headers (but not response headers): HTTP Scheme for URL Data.

And this thread on the REST-discuss mailing list.  Which led me to this (using XSLT to do same thing) and this (XMTP – XML MIME).