Generating HTTP redirects at the edge