Skip to content

Commit c45c076

Browse files
committed
Add some description information
1 parent 58b9a36 commit c45c076

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# Pycurl-vs-Requests
2-
A cheatsheet for comparison between pycurl and requests
2+
A cheatsheet for comparison between pycurl and requests.
33

44
All the example code are run on Python 3+.
55

6+
## Why do we do the Comparison?
7+
*requests* is popular among Python developers because of its human-friendly api.
8+
*pycurl*, on the other hand, is hard-coding but with better performance.
9+
10+
From the view of functionality, *requests* is dedicated to *HTTP protocol*;
11+
*pycurl*, instead, supports various protocols like *HTTP*, *SMTP*, *FTP* and so forth.
12+
13+
We do the comparison over the HTTP methods between two libraries especially for the apis both provide.
14+
615
## How to Contribute?
716
Feel free to contribute your knowledge of these two libraries.
817
Just edit the *Functionality Comparison* part in the README.md file as the following format:
@@ -17,7 +26,6 @@ pycurl:
1726
print('Here is your example code of pycurl')
1827
```
1928

20-
2129
## Functionality Comparison
2230
### Get
2331
Requests provides a simple way to conduct Http GET;
@@ -132,6 +140,8 @@ pycurl:
132140
```
133141

134142
### Set Socks Proxy
143+
Surprisingly, Pycurl's proxy setting is as simple as requests.
144+
135145
requests:
136146
```python
137147
proxies = {

0 commit comments

Comments
 (0)