diff options
Diffstat (limited to 'sca-cpp/trunk/modules/wsgi')
-rwxr-xr-x | sca-cpp/trunk/modules/wsgi/composite.py | 2 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/wsgi/htdocs/index.html | 32 |
2 files changed, 33 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/composite.py b/sca-cpp/trunk/modules/wsgi/composite.py index 9dbc2c911a..28a38ad386 100755 --- a/sca-cpp/trunk/modules/wsgi/composite.py +++ b/sca-cpp/trunk/modules/wsgi/composite.py @@ -143,6 +143,8 @@ def application(e, r): if m == "GET": if fpath.endswith(".html"): return fileresult(e, r, "text/html", fpath) + if fpath.endswith(".css"): + return fileresult(e, r, "text/css", fpath) if fpath.endswith(".js"): return fileresult(e, r, "application/x-javascript", fpath) if fpath.endswith(".png"): diff --git a/sca-cpp/trunk/modules/wsgi/htdocs/index.html b/sca-cpp/trunk/modules/wsgi/htdocs/index.html index cd25bf17b3..5449f4ef89 100644 --- a/sca-cpp/trunk/modules/wsgi/htdocs/index.html +++ b/sca-cpp/trunk/modules/wsgi/htdocs/index.html @@ -1 +1,31 @@ -<html><body><h1>It works!</h1></body></html>
\ No newline at end of file +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>It works</title> +</head> +<body> +<h1>It works!</h1> +</body> +</html> + |