Fossil

Check-in [3dc62d54d0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Recognize the HTTPS line in the HTTP header. Ticket [d83227cdda3d786d3743b2]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3dc62d54d02a560ef2c34f067612f906b9b644a2
User & Date: drh 2010-08-15 19:34:07.000
Context
2010-08-15
19:36
Fix to the DOCTYPE of generated HTML pages. Ticket [25ff8cff2bdb41766e91] ... (check-in: c1bec02aae user: drh tags: trunk)
19:34
Recognize the HTTPS line in the HTTP header. Ticket [d83227cdda3d786d3743b2] ... (check-in: 3dc62d54d0 user: drh tags: trunk)
2010-08-12
19:39
Reimplement the reconstruct command that was removed in the GPL to BSD license change. This resolves ticket [dfe1fc608a]. ... (check-in: 3332895df8 user: bcsmith tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cgi.c.
1136
1137
1138
1139
1140
1141
1142


1143
1144
1145
1146
1147
1148
1149
      cgi_setenv("CONTENT_TYPE", zVal);
    }else if( strcmp(zFieldName,"cookie:")==0 ){
      cgi_setenv("HTTP_COOKIE", zVal);
    }else if( strcmp(zFieldName,"if-none-match:")==0 ){
      cgi_setenv("HTTP_IF_NONE_MATCH", zVal);
    }else if( strcmp(zFieldName,"if-modified-since:")==0 ){
      cgi_setenv("HTTP_IF_MODIFIED_SINCE", zVal);


    }
  }

  cgi_init();
}

/*







>
>







1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
      cgi_setenv("CONTENT_TYPE", zVal);
    }else if( strcmp(zFieldName,"cookie:")==0 ){
      cgi_setenv("HTTP_COOKIE", zVal);
    }else if( strcmp(zFieldName,"if-none-match:")==0 ){
      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);
    }
  }

  cgi_init();
}

/*