This repository was archived by the owner on Jan 15, 2024. It is now read-only.
Commit 3e5bd17
committed
Read request body on first try
Even if successful by always reading the body we can make certain that
the body will be sent to the server, even if the request fails before
reading the body. See parent commit for further reference.
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>1 parent 4d9aeb6 commit 3e5bd17
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 89 | + | |
96 | 90 | | |
97 | 91 | | |
98 | 92 | | |
| |||
0 commit comments