added request_body() function, fixed bug where URIs are looked up including the query, docs