You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@leejuyuu Thanks for bringing it up. I didn't notice it. The documentation needs correction. I will correct it, or you could submit the PR. Please let me know.
The documentation about the order of middleware application
for OnBeforeRequet was different from the implementation. Fixed this by
changing the documentation.
Fixesgo-resty#686.
The documentation about the order of middleware application
for OnBeforeRequet was different from the implementation. Fixed this by
changing the documentation.
Fixes#686.
The documentation of
OnBeforeRequest
resty/client.go
Lines 403 to 405 in 3d08b36
says that the middleware set by this function is applied after the default middlewares.
However, when the request is executed, the order is reversed.
resty/client.go
Lines 896 to 912 in 3d08b36
I think this resulted in #517.
I am not sure which side is the intended result.
The text was updated successfully, but these errors were encountered: