Why not just `container.text(method + ' ' + url)`? Sounds like that would be enough.