func StripHeaderPrefixes(headers map[string]string) map[string]string {
	out := make(map[string]string)
	for key, value := range headers {
		key = strings.ToLower(key)
		if !strings.HasPrefix(key, KeyPrefix) {
			out[key] = value
		}
		trimmedKey := strings.TrimPrefix(key, KeyPrefix)
		if trimmedKey == "" {
			out[key] = value
		}
		out[trimmedKey] = value
	}
	return out
}
// StripHeaderPrefixes strips the KeyPrefix from any of the header keys.
StripHeaderPrefixes strips the KeyPrefix from any of the header keys.
// StripHeaderPrefixes strips the KeyPrefix from any of the header keys .
func StripHeaderPrefixes(headers map[string]string) map[string]string {
	out := make(map[string]string)
	for key, value := range headers {
		key = strings.ToLower(key)
		if !strings.HasPrefix(key, KeyPrefix) {
			out[key] = value
		}
		trimmedKey := strings.TrimPrefix(key, KeyPrefix)
		if trimmedKey == "" {
			out[key] = value
		}
		out[trimmedKey] = value
	}
	return out
}
func StripHeaderPrefixes ( headers map [ string ] string ) map [ string ] string { out := make ( map [ string ] string ) for key , value := range headers { key = strings . ToLower ( key ) if ! strings . HasPrefix ( key , KeyPrefix ) { out [ key ] = value } trimmedKey := strings . TrimPrefix ( key , KeyPrefix ) if trimmedKey == " " { out [ key ] = value } out [ trimmedKey ] = value } return out }
StripHeaderPrefixes strips the KeyPrefix from any of the header keys.
StripHeaderPrefixes strips the KeyPrefix from any of the header keys .