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
4ed0e07
..
9fe182f
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