fallback to DIRECT if not http