Docs are saying that HTTP is supported when matched explicitly via router - https://docs.layer0.co/docs/api/core/interfaces/_router_routecriteria_.routecriteria.html#protocol
However, I always get a redirect to https. I believe this was working on previous versions of XDN.
Can you provide the route where you have this configured? Using this example, I get the response on both http
and https
using the latest version of Layer0:
.match(
{
protocol: /^https?$/,
path: '/http',
},
({ send }) => {
send('http request')
}
)