Commit dc159c3
committed
Fix: don’t forward empty JSON bodies on GET (prevents Jira 403)
Non-empty dict → keep existing behavior and send json.dumps(data).
Empty dict → remove data from prepared_kwargs so no body is sent.
While I understand this is needed I do not understand why the tests
ever passed.
* Fixes #23621 parent b07a89b commit dc159c3
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
0 commit comments