code: func normaliseKey(key string) string {
  	newkey := url.QueryEscape(key)
  	if len(newkey) > 250 {
  		newkey = newkey[:250]
  	}
  
  	return newkey
  }
docs: // Keys must be at maximum 250 bytes long, ASCII, and not
  // contain whitespace or control characters.