Re: Enhancement to Scotty HTTP PUT/POST ?

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 6 Mar 1996 17:46:29 +0100

Hi!

"Brad C. Johnson" <bradcj@nic.iii.net> said:

Brad> Has anybody modified the SCOTTY http.c code
Brad> HttpOpen/HttpPut/HttpPost
Brad> to send the application/x-httpd-cgi Content Type?

Scotty maps file name extension to MIME types. See the description of
the http mime command. The following has been tested on the server
side:

http server 8888
http mime application/x-httpd-cgi cgi
http bind /* get { return /tmp/foo.cgi }

The internal mime translation table is used in HttpOpen so I guess
that it will work with http put and http post commands.

Juergen