def METHOD_NAME(url, *_, **kwargs):
    headers = {
        'Content-Type': 'application/pdf',
        'Content-Disposition': 'attachment;filename=Sample_document_2023.pdf',
    }
    if url.endswith('NOOP'):
        headers['Content-Type'] = 'html/text'
    elif url.endswith('000004'):
        headers['Content-Disposition'] = ''
    return MockResponse(headers=headers)