improved parser to get method http