diff options
Diffstat (limited to 'std/http/_io.ts')
-rw-r--r-- | std/http/_io.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/http/_io.ts b/std/http/_io.ts index b7efaf8e5..4ff3dd4e6 100644 --- a/std/http/_io.ts +++ b/std/http/_io.ts @@ -346,7 +346,7 @@ export async function readRequest( req.conn = conn; req.r = bufr; [req.method, req.url, req.proto] = firstLine.split(" ", 3); - [req.protoMinor, req.protoMajor] = parseHTTPVersion(req.proto); + [req.protoMajor, req.protoMinor] = parseHTTPVersion(req.proto); req.headers = headers; fixLength(req); return req; |