A Neovim plugin enabling you to solve LeetCode problems.
refactor: go back to `HTTP/1`
1 file changed, +0 -1
+0-1lua/leetcode/api/utils.lua
| @@ -60,7 +60,6 @@ function utils.curl(method, params) | ||
| 60 | 60 | compressed = false, |
| 61 | 61 | retry = 5, |
| 62 | 62 | endpoint = urls.base, |
| 63 | - http_version = "HTTP/2", | |
| 64 | 63 | }, params or {}) |
| 65 | 64 | local url = ("https://leetcode.%s%s"):format(config.domain, params.endpoint) |
| 66 | 65 |