Just an option
```python
headers = self._shared_request_params.setdefault('headers', {})
headers['User-Agent'] = ...
```