Commit d0392ba
authored
Use correct HTTP method for redirects (#101)
Instead of hardcoding POST, let's use the original method when following
redirects. This fixes deleting commit comments (and other calls
potentially).
We'll add tests for this in a follow-up since it requires a non-trivial
amount of setup to test properly and we need to ship this fix ASAP.
Sorry.1 parent cb8ed95 commit d0392ba
File tree
1 file changed
+1
-1
lines changed- src/main/java/com/spotify/github/v3/clients
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
775 | | - | |
| 775 | + | |
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| |||
0 commit comments