We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c80ec commit 1efbc70Copy full SHA for 1efbc70
llhttp/parser.lua
@@ -43,7 +43,7 @@ end
43
---@return number http_version
44
function Parser:get_http_version()
45
-- upstream issue: https://github.com/nodejs/llhttp/issues/177
46
- if not self._completed_url and not self._completed_status then
+ if not self._completed_headers and not self._completed_status then
47
error("http_version not parsed yet")
48
end
49
0 commit comments