view templates/header.tmpl @ 4869:be591b740e0f

Handle CGI SSL detection via HTTPS environment better. Some servers send on/off, 0/1, yes/no, and may be upper or lower case. This fix will handle all of those permutations. It was inspired by the detection done in in some other wsgi python web applications I looked at.
author Wesley J. Landaker <wjl@icecavern.net>
date Thu, 12 Jul 2007 13:55:20 -0600
parents 51e52db6b40d
children 3340aa5a64f7 e82dd2dd6276
line wrap: on
line source

Content-type: text/html; charset={encoding}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="#staticurl#hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="#staticurl#style.css" type="text/css" />