in tools/mconnect/parser/parser.go [84:91]
func appIndex(headers []string) (int, error) {
for i, header := range headers {
if strings.ToLower(header) == expectedHeader {
return i, nil
}
}
return -1, fmt.Errorf("couldn't find the application header")
}