Fix quality failure

Extracting the per-OPTIONS-route logic into a separate private method
brings the quality of the method down from 19.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>