Add CORS tests

And move the CORS handler only on the homepage endpoint.
3 jobs for redirect-307 in 2 minutes and 50 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build Pkgsrc
passed #9269
build_pkgsrc:stretch

00:00:19

 
  Build Pkg
passed #9270
amd64
build_pkg:stretch:amd64

00:00:59

passed #9271
arm64
build_pkg:stretch:arm64

00:02:29