--- src/cgi.c	2010-07-10 01:57:40.000000000 +0900
+++ src/cgi.c	2010-07-21 16:22:41.000000000 +0900
@@ -1140,6 +1140,8 @@
       cgi_setenv("HTTP_IF_NONE_MATCH", zVal);
     }else if( strcmp(zFieldName,"if-modified-since:")==0 ){
       cgi_setenv("HTTP_IF_MODIFIED_SINCE", zVal);
+    }else if( strcmp(zFieldName,"https:")==0 ){
+      cgi_setenv("HTTPS", zVal);
     }
   }
 
