bugfix in http methods parser