Skip to content

Feature request: support different end points #43

Open
@beliaev-maksim

Description

@beliaev-maksim

It looks like that local server can serve only one request. What will be the recommended path to serve different content depending on different URL path?
example.com/one -> serve [200, "OK"]
example.com/two -> serve [201, {"json": "data"}]

would be cool if this functionality could be expanded.

for the moment it looks to be possible to achieve it with https://github.com/csernazs/pytest-httpserver

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions