code: def set_user_agent_component(self, key, value, sanitize=True):
          
          if sanitize:
              key = ''.join(_x.capitalize() for _x in re.findall(r'\S+', key))
              if re.search(r'\s+', value):
                  value = '_'.join(re.findall(r'\S+', value))
          self.user_agent_components[key] = value
docs: Add or replace new user-agent component strings.
  
          Given strings are formatted along the format agreed upon by Mollie and implementers:
          - key and values are separated by a forward slash ("/").
          - multiple key/values are separated by a space.
          - keys are camel-cased, and cannot contain spaces.
          - values cannot contain spaces.
  
          Note: When you set sanitize=false yuu need to make sure the formatting is correct yourself.