Allow DELETE to send content in tests

This is the rebased commit from #620.  It changes the default
`_get_content_type` behavior to depend on the presence of content rather
than the HTTP method used, which addresses the initial goal of allowing
DELETE requests to properly send content without explicitly specifying
the content type.
Merge pull request #620 from rknLA/master

Allow DELETE to send content in tests