Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: third_party/twisted_8_1/twisted/web/demo.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
3 # See LICENSE for details.
4
5
6 """I am a simple test resource.
7 """
8
9 from twisted.python import log
10 from twisted.web import static
11
12 class Test(static.Data):
13 isLeaf = True
14 def __init__(self):
15 static.Data.__init__(
16 self,
17 """
18 <html>
19 <head><title>Temporary Test</title><head>
20 <body>
21
22 Hello! This is a temporary test until a more sophisticated form
23 demo can be put back in using more up-to-date Twisted APIs.
24
25 </body>
26 </html>
27 """,
28 "text/html")
29
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/web/client.py ('k') | third_party/twisted_8_1/twisted/web/distrib.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698