Skip to content

Search must handle non https urls #10981

@rakshith91

Description

@rakshith91

name.search.windows.net should be handle and changed to https://name.search.windows.net in the init

sometthing like:

if not url.startswith("https"):
    url = "https://" + url

Right now, it breaks in azure-core with keyError: endpoint which doesn't make much sense.
However,

**http**://name.search.windows.net must be warned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Search

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions