extract helper method
context for http urls