emmett-framework / granian

A Rust HTTP server for Python applications
BSD 3-Clause "New" or "Revised" License
2.86k stars 83 forks source link

The URL encoding in the Python framework was not converted to a string #158

Closed rubbish822 closed 10 months ago

rubbish822 commented 10 months ago

`curl -i localhost:8000/items/2023-12-22%3C--%3E2023-12-29 HTTP/1.1 200 OK server: granian content-length: 51 content-type: application/json date: Thu, 28 Dec 2023 04:04:56 GMT

{"item_id":"2023-12-22%3C--%3E2023-12-29","q":null}`

`curl -i localhost:8000/items/2023-12-22%3C--%3E2023-12-29 HTTP/1.1 200 OK date: Thu, 28 Dec 2023 04:05:20 GMT server: uvicorn content-length: 47 content-type: application/json

{"item_id":"2023-12-22<-->2023-12-29","q":null}`

gi0baro commented 10 months ago

@rubbish822 which framework is that?

rubbish822 commented 10 months ago

@rubbish822 which framework is that?

Django.

rubbish822 commented 10 months ago

@rubbish822 which framework is that?

Django.

Fastapi

gi0baro commented 10 months ago

@rubbish822 which framework is that?

Django.

ASGI or WSGI?

rubbish822 commented 10 months ago

@rubbish822 which framework is that?

Django.

ASGI or WSGI?

WSGI

rubbish822 commented 10 months ago

@rubbish822 which framework is that?

Django.

ASGI or WSGI?

WSGI

ASGI also has the same problem.