httpsession: add method keyword argument