@dmitchell -- @flowerhack had refactored this code to use `request.build_absolute_uri` within our opaque-keys work. I think it's a good idea - hence adding the TODO - but not a change that should have been a part of this PR.