added web agent.
removed redundant assignment.
replaced weak string used for the http method args with a strong type.