-
Notifications
You must be signed in to change notification settings - Fork 25
Commit 3e0e52b
Fix sign error when user give a header, ensure to use stringify and downcase the header keys.
```rb
client.request(
method: "POST",
uri: "/green/image/scan",
headers: { "Content-Type" => "application/json" },
body: body
)
```
In this case, the headers will be `{ :"Content-Type" => "application/json" }`1 parent 7baa4dc commit 3e0e52b
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | - | ||
23 | + | ||
24 | + | ||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
|
0 commit comments