W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1996

Re: HTTP header suggestion/request

From: Rens Troost <rens@name.net>
Date: Sun, 10 Nov 1996 12:20:13 -0500
Message-Id: <199611101720.MAA29273@engine.name.net>
To: MegaZone <megazone@livingston.com>
cc: masinter@parc.xerox.com (Larry Masinter), kdyer@draper.com, www-talk@w3.org, koen@win.tue.nl, rens@century.com, sdorner@qualcomm.com
> 
> You can develop a complex interrelation - when does Content-Type take
> precedence, when does Content-Disposition?

Appended is what I do.  In brief; trust C-D for storage names,trust
C-T for viewer selection. Im not sure this kind of thing is
appropriate to promulgate in an RFC, though. ANy thoughts?

to generate a filename:
	if C-D provided
		use suggested name
	else
		if C-T has associated suffix
			generate name with appropriate suffix
		else
			dont suggest a name
		endif
	endif

to launch a viewer:
	if c-t has registered viewer
		launch appropriate viewer
	else
		prompt user
	endif
	

	
-Rens
Received on Sunday, 10 November 1996 12:25:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:20 GMT