Follow-up from "Add diffs streaming endpoint for compare"
The following discussion from !172404 should be addressed: 1. [**suggestion (non-blocking):** I don't see any verifications of this option. We should either remove it or add a test for it.](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/172404#note_2212770004) 2. [**suggestion (non-blocking):** I don't see where we use `extra_params`. Should we remove it?](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/172404#note_2212770026) 3. [500 error when params are not set](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/172404#note_2212770034)
issue