Lists Home |
Date Index |
On Tuesday 12 February 2002 06:18 am, Bill de hÓra wrote:
> The data structure underpinning a HTTP message is a roughly a list
> of key value pairs. The data structure underlying XML is a roughly a
> tree. As I see it these data structures are appropriate for the
> respective tasks at hand. What is more solid about trees than maps
> in the HTTP case?
I think the hey,value pairs have shown themsevles to be insufficient.
Look at MIME media types for a prime example, or the Accept-* headers.
Many headers have a built-in ad-hoc syntax for representing structure.