package main
import (
"context"
"io"
"github.com/fastly/compute-sdk-go/fsthttp"
)
const BACKEND = "origin_0"
func main() {
fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
r.CacheOptions.PCI = true
resp, _ := r.Send(ctx, BACKEND)
w.WriteHeader(resp.StatusCode)
io.Copy(w, resp.Body)
})
}