get HTTP types properly parsing into AST