NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bozohttpd -M encoding example



James K. Lowden <jklowden%schemamania.org@localhost> wrote:
> Could someone please provide an example of a bozohttpd line for
> inetd.conf that uses the -M option?
> [...]
> The goal is to produce an HTTP header of the form:
> 
> 	Content-Type: text/html; charset=utf-8
> 
> for an HTTP 1.1 connection.  

A "bit" late response, but maybe somebody else will need it...
I had similiar problem and managed to guess what to write in here:

[...] -M .html "text/html; charset=utf-8" - - [...]

You basically specify encoding in "type" arg, last two entries are for
compression like gzip and can be left empty.
-- 
pl <pl%szwajn.net@localhost>



Home | Main Index | Thread Index | Old Index