Skip to content

[Routing] Default dev server doesn't support QUERY HTTP method #2264

Description

@kv-codec

Tempest version

3.0

PHP version

8.5

Operating system

Other

Description

Root of this problem isn't in framework itself. However right now it's not possible to test endpoints with QUERY HTTP method because of php built-in (php -S) server limitations. Server returns 501 Not Implemented and some html, pinned below

<!doctype html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>501 Not Implemented</title>
    <style>
        body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
        h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
        h1, p { padding-left: 10px; }
        code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
    </style>
</head>
<body>
    <h1>Not Implemented</h1>
    <p>Request method not supported.</p>
</body>
</html>

Maybe we should mention this in the docs until built-in server support QUERY method?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions