aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-04-01 01:51:50 +0900
committeripknHama <ipknhama@gmail.com>2014-04-01 01:51:50 +0900
commit4b8c67e2300205200f4f846400d73a03cb3da854 (patch)
tree46b63650efd6952cf88a62cc0511162af54d896f /test.py
parent1e11a177ee6b680b55f01d6090ccd1b2e2b8c51c (diff)
downloadcrow-4b8c67e2300205200f4f846400d73a03cb3da854.tar.gz
crow-4b8c67e2300205200f4f846400d73a03cb3da854.zip
accept connections, print http request parsed information
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..49b7368
--- /dev/null
+++ b/test.py
@@ -0,0 +1,3 @@
+import urllib
+d = urllib.urlopen('http://localhost:8080').read()
+print d