Tomás

Results 7 comments of Tomás

mmm... it definitively looks like a legit bug. @kirillDanshin are you interesting in providing the fix? Otherwise I will work on that.

@kgdev are you interested in providing a PR? That would accelerate the process.

It would be fixed anytime soon. Still need to test things and update the PR.

Will take a look in detail sometime this weekend.

Are you using a custom `http.Client`, instead of `http.DefaultClient`? In that case, you should instrument `gock` on it first. See: https://github.com/h2non/gock/blob/master/_examples/custom_client/client_test.go#L18-L20

This looks promising :)

`rocky` relies on `router` package for HTTP traffic routing. Please, pass the middleware as variadic parameters using spread syntax instead, such as: ```js proxy[method](route, ...middlewares).forward('http://localhost:3001'); ``` See supported route interface:...