about summary refs log tree commit diff stats
path: root/src/HTInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTInit.c')
-rw-r--r--src/HTInit.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/HTInit.c b/src/HTInit.c
index f7ce2bcc..a9506b8d 100644
--- a/src/HTInit.c
+++ b/src/HTInit.c
@@ -75,6 +75,12 @@ PUBLIC void HTFormatInit NOARGS
 /*
  *  Add our header handlers.
  */
+ HTSetConversion("message/x-http-redirection", "*",
+					     HTMIMERedirect, 2.0, 0.0, 0.0, 0);
+ HTSetConversion("message/x-http-redirection", "www/present",
+					     HTMIMERedirect, 2.0, 0.0, 0.0, 0);
+ HTSetConversion("message/x-http-redirection", "www/debug",
+					     HTMIMERedirect, 1.0, 0.0, 0.0, 0);
  HTSetConversion("www/mime",  "www/present",  HTMIMEConvert, 1.0, 0.0, 0.0, 0);
  HTSetConversion("www/mime",  "www/download", HTMIMEConvert, 1.0, 0.0, 0.0, 0);
  HTSetConversion("www/mime",  "www/source",   HTMIMEConvert, 1.0, 0.0, 0.0, 0);
@@ -83,8 +89,6 @@ PUBLIC void HTFormatInit NOARGS
 /*
  *  Add our compressed file handlers.
  */
- HTSetConversion("www/compressed", "www/present",
- 					      HTCompressed,   1.0, 0.0, 0.0, 0);
  HTSetConversion("www/compressed", "www/download",
  					      HTCompressed,   1.0, 0.0, 0.0, 0);
  HTSetConversion("www/compressed", "www/present",