### SUMMARY
```
  sha256sum:
    description:
      - If a SHA-256 checksum is passed to this parameter, the digest of the
        destination file will be calculated after it is downloaded to ensure
        its integrity and verify that the transfer completed successfully.
        This option is deprecated. Use C(checksum) instead.
```

There is no `module.deprecate` either for `sha256sum`.

the argument has been declared deprecated in commit b3b11fbce26 (2017)

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
get_url

* ansible version: 2.10

else:
                module.fail_json(msg="%s directory does not exist." % tmp_dest, elapsed=elapsed)
    else:
        tmp_dest = module.tmpdir
    fd, tempname = tempfile.mkstemp(dir=tmp_dest)
    f = os.fdopen(fd, 'wb')
    try:
        shutil.copyfileobj(rsp, f)
    except Exception as e:
        os.remove(tempname)
        module.fail_json(msg="failed to create temporary content file: %s" % to_native(e), elapsed=elapsed, exception=traceback.format_exc())
    f.close()
    rsp.close()
    return tempname, info
def extract_filename_from_headers(headers):
    """
    Extracts a filename from the given dict of HTTP headers.
    Looks for the content-disposition header and applies a regex.
    Returns the filename if successful, else None."""
    cont_disp_regex = 'attachment; ?filename="?([^"]+)'
    res = None
    if 'content-disposition' in headers:
        cont_disp = headers['content-disposition']
        match = re.match(cont_disp_regex, cont_disp)
        if match:
            res = match.group(1)
            
            res = os.path.basename(res)
    return res
def main():