moved method.h to request.h