code: func parseDictHeader(value string) map[string]string {
  	pairs := strings.Split(value, ",")
  	res := make(map[string]string, len(pairs))
  	for _, pair := range pairs {
  		parts := strings.SplitN(strings.TrimSpace(pair), "=", 2)
  		key := strings.TrimSpace(parts[0])
  		if len(key) == 0 {
  			continue
  		}
  		val := ""
  		if len(parts) > 1 {
  			val = strings.TrimSpace(parts[1])
  			if strings.HasPrefix(val, `"`) && strings.HasSuffix(val, `"`) {
  				val = val[1 : len(val)-1]
  			}
  		}
  		res[key] = val
  	}
  	return res
  }
docs: // parseDictHeader is a simplistic, buggy, and incomplete implementation of
  // parsing key-value pairs from a header value into a map.