h a l f b a k e r yRight twice a day.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
For example, after the creation of some simple, standardized "file listing" XML format, one could tell the remote server "I know text/xml-filelist", and instead of returning some html listing of the files in a directory, it would return the listing in this special format, so that the browser or whatever
can display it in a nice column view and you can sort it and select the files just like local folders. you'd also get index.xml, instead of index.html, etc. Someday, this sort of thing should be the default, but, until then...
HTTP Accept header
http://www.w3.org/P.../rfc2616-sec14.html [krelnik, Oct 04 2004, last modified Oct 05 2004]
Please log in.
If you're not logged in,
you can see what this page
looks like, but you will
not be able to add anything.
Annotation:
|
|
This is precisely what the "Accept" header type is for in the HTTP specification. The client lists what MIME data types it is prepared to accept, and the server can then provide the requested data in whichever of the listed types it feels is most appropriate. See link. |
|
| |