add rack response request code and day2 code changes