package api_test import ( "context" "io" "net/http" "net/http/httptest" "regexp" "strings" "testing" "time" ) var csrfMeta = regexp.MustCompile(`