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
Enhancements:
Implemented Response#After()
Dynamically add/remove proxy targets
Rewrite rules for proxy middleware
Add ability to extract key from a form field
Implemented rewrite middleware
Adds a separate flag for the 'http/https server started on' message (#1043)
Applied a little DRY to the redirect middleware (#1053) and tests (#1055)
Simplify dep fetching (#1062)
Add custom time stamp format #1046 (#1066)
Update property name & default value & comment about custom logger
Add X-Requested-With header constant
Return error of context.File in c.contentDisposition
Updated deps
Updated README.md
Fixes:
Fixed Response#Before()
Fixed#990
Fix href url from armor to echo (#1051)
Fixed#1054Fixed#1052, dropped param alias feature
Avoid redirect loop in HTTPSRedirect middleware (#1058)
Fix deferring body close in middleware/compress test (#1063)
Cleanup code (#1061)
FIX - We must close gzip.Reader, only if no error (#1069)
Fix formatting (#1071)
Can be a fix for auto TLS
Issue Description
I want to use the rewrite middleware because my url schema has changed. Using this middleware will not forward requests to the handler functions.
Checklist
Expected behaviour
I expect this middleware to rewrite the url and forward the request to the appropriate handler.
Actual behaviour
Middleware does not call next(c) and thus it stops the chain.
Steps to reproduce
Working code to debug
and now a curl :
Version/commit
f710bf6
The text was updated successfully, but these errors were encountered: