`Response` now looks in headers for resource name before using the URL.