Preliminary support for http as input.