make request doctests pass