Kong as a gateway to Webapp

Is it possible to use kong as gateway to UI based web application and can handle things like 307 redirect status by UI