fix scope for argv env vars
fully abstract the http methods