{
        result =
          new BufferedOutputStream(result)
          {
            @Override
            public void close() throws IOException
            {
              try
              {
                super.close();
              }
              finally
              {
                response.put(URIConverter.RESPONSE_TIME_STAMP_PROPERTY, getAttributes(uri, options).get(URIConverter.ATTRIBUTE_TIME_STAMP));
              }
            }
          };
      }