I use the [requests](https://requests.readthedocs.io/en/master/) HTTP client library in Python.

Sometimes an HTTP request fails, and I get an HTTP response with status `500`.

This can be in CI or production, and I see something like this:

```
AssertionError: 200 != 500 : <Response [500]>

```

That does not help much.

It would be very great if I could see the `X-Request-ID` in the above message. In my environment, this exists for every HTTP response.

This means the HTTP response object of the requests library should add it. 

I want the `repr()` to look like `<Response [500] XejfkmxcPfhM3dqhY2HJgQAAAAM>`

Since this is not my code, but the code of the requests lib, I am unsure how I could implement this.

How to include the `X-Request-ID` in the repr() of requests response objects?