Skip to content

Verify=False is not propogated to bypass ssl verification #386

Description

@phinds1

Version: 7.0 (Python 3.10.12 on linux)

ref this https://forum.robotframework.org/t/how-to-make-requests-library-ignore-ssl-errors/6790/8

in _common_request() function

    resp = method_function(
        self._merge_url(session, uri),  <- session has verify:False but it is not passed to kwargs
        timeout=self._get_timeout(kwargs.pop('timeout', None)),
        cookies=kwargs.pop('cookies', self.cookies),
        **kwargs)
log.logger.error(kwargs)  <- this is missing Verify: False

kwargs.update({'verify': False})  <-  if I add it it works

My guess this is missing

kwargs.update({'verify': session.verify})   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions