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
What is the motivation and/or use-case for the feature?
It would be useful to be able to signal to the middleware that, instead of only GET, it should process other HTTP request methods (like POST, PUT and so forth). Below is an example of how, from the webpack.config, it could be possible to add an option to this middleware (along with other parts of the chain) to allow for just that.
#319 contains the minimal set of code necessary to implement such an option in a backward compatible manner, along with tests for its correcly behaviour and updates on the documentation. It is also tested in a real world application and works as intended.
Best regards
The text was updated successfully, but these errors were encountered:
What is the motivation and/or use-case for the feature?
It would be useful to be able to signal to the middleware that, instead of only GET, it should process other HTTP request methods (like POST, PUT and so forth). Below is an example of how, from the webpack.config, it could be possible to add an option to this middleware (along with other parts of the chain) to allow for just that.
Code
#319 contains the minimal set of code necessary to implement such an option in a backward compatible manner, along with tests for its correcly behaviour and updates on the documentation. It is also tested in a real world application and works as intended.
Best regards
The text was updated successfully, but these errors were encountered: