Skip to content

A proxy-wasm policy that redirects HTTP requests based on a specific header

Notifications You must be signed in to change notification settings

younes-io/mule-flex-rust-policy-redirect

Repository files navigation

Mulesoft Anypoint Flex Gateway Policy (Custom Redirect Header)

This is a Rust policy for MuleSoft Anypoint Flex. The policy implements header-based redirection. It examines incoming requests for a particular header and redirects them accordingly. The redirection is achieved by responding with a 302 HTTP status code and including a Location header that specifies the new path.

For more informaton check: Implementing a Flex Gateway Custom Policy in Rust

You can find another example of a Rust policy for Anypoint Flex here.

About

A proxy-wasm policy that redirects HTTP requests based on a specific header

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages