Skip to content

url_build() doesn't validate argument #482

@JosiahParry

Description

@JosiahParry

It's quite clear I didn't perfectly read the docs! But it would be quite nice if invalid names are found that an error (and better and informative one!) are provided.

httr2::url_build(list(host = host, port = port))
#> "//:3000"

Whereas I expected:

#> "http://127.0.0.1:3000"

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementurl 👑

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions