Changed HTTP method setter to via so it returns itself