-
Notifications
You must be signed in to change notification settings - Fork 148
Commit c317bcf
Split Client.getResponse to Client.doRequest & Client.getResponse. (#44)
There is some API that give empty response and we only need
to check HTTP status code.
example :
https://developer.github.com/v3/issues/assignees/#check-assignee
But there is no way to do this in current code because
getResponse will parse the response body and not returning
HTTP status code.
Client.doRequest makes it possible to do this.1 parent c52f7ee commit c317bcf
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | - | ||
41 | + | ||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | - | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
52 | 56 |
| |
53 | 57 |
| |
54 | 58 |
| |
|
0 commit comments