Commit 9dfb42d
committed
Use requests to quote URLs
The previous fix to #158 didn't match requests' own behavior
and quoted a lot of additional characters, causing test breakage.
Use `requests.utils.requote_uri` to quote the URL instead, which
should ensure the behavior matches requests more closely.1 parent cb8084a commit 9dfb42d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments