Name
headers — set and parse HTTP headers.
Synopsis
::rivet::headers  (set | redirect | add | type | numeric)
Description
		  The headers command is for setting and
		  parsing HTTP headers.
		
- 
			    ::rivet::headers   set  ?headername? ?value?
 
- 
				Set arbitrary header names and values.
			     
- 
			    ::rivet::headers   redirect  ?uri?
 
- 
				Redirect from the current page to a new
				URI. Must be done in the first block
				of TCL code.
			     
- 
			    ::rivet::headers   add  ?headername? ?value?
 
- Add text to header
				- headername.
 
- 
			    ::rivet::headers   type  ?content-type?
 
- 
				This command sets the - Content-typeheader returned by the script, which is useful if you wish
				to send content other than HTML with Rivet - PNG or jpeg
				images, for example.
 
- 
			    ::rivet::headers   numeric  ?response code?
 
- 
				Set a numeric response code, such as 200, 404 or 500.