projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32cc197
)
temp "tests"
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 13 Feb 2011 21:59:13 +0000
(16:59 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 13 Feb 2011 21:59:13 +0000
(16:59 -0500)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 4ed0e0778a63bc1b2a19ebdc9d4cc280acf050e8..9fe182fcb7c49b22e8746e20e3e998a029169398 100644
(file)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-1,4
+1,11
@@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import unittest
\ No newline at end of file
+import unittest
+
+import requests
+
+print requests.get('http://kennethreitz.com').headers
+
+
+r = requests.Request()
\ No newline at end of file