Professional Documents
Culture Documents
31 Lecture9
31 Lecture9
com/
clkr.com
GET / HTTP/1.1
Host: www.facebook.com
...
clkr.com
HTTP/1.1 200 OK
Content-Type: text/html
...
<!DOCTYPE html>
<html>
<head>
<title>hello, title</title>
</head>
<body>
hello, body
</body>
</html>
http://www.symfony-project.org/jobeet/1_2/Propel/en/04
flask.pocoo.org
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")