V0.12.x (#215)
* fix #203 NetworkTransport race, with main-isolated variables (#206) Co-authored-by: wti <wti@users.noreply.github.com> * feat/auth: Authentication implementation (#205) * feat: added authentication * feat(auth): improvement to error handling * feat(auth): updated errors and tests in OAuthClientRegistrar * feat(auth): updated ci conformance package version * feat(auth): bumped node version * feat(auth): updated ci conformance step * feat(auth): improvement to Linux support * chore: added docc plugin * chore: added spi yml * chore: added documentation step to ci * chore: increased timeout for test from 5 to 10m --------- Co-authored-by: Paal Øye-Strømme <paal.o.eye@gmail.com> Co-authored-by: wti <wti@users.noreply.github.com> Co-authored-by: yehorsobko <yehorsobko@macpaw.com>
This commit is contained in:
parent
973b46b8f7
commit
6132fd4b5b
1 changed files with 10925 additions and 199 deletions
|
|
@ -352,10 +352,13 @@ private final class HTTPHandler: ChannelInboundHandler, @unchecked Sendable {
|
|||
body = nil
|
||||
}
|
||||
|
||||
let path = String(state.head.uri.split(separator: "?").first ?? Substring(state.head.uri))
|
||||
|
||||
return HTTPRequest(
|
||||
method: state.head.method.rawValue,
|
||||
headers: headers,
|
||||
body: body
|
||||
body: body,
|
||||
path: path
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue