fetch() function returns a Response object that is based on the web standard Fetch API. According to the documentation, the Response object is read-only and its properties cannot be modified. This is why you cannot set a new property on a Response object in Deno. Response object . This is not allowed in Deno, hence it doesn't work. asdfo