Skip to content

Support Query Parameters? #20

@jphastings

Description

@jphastings

Would IPFS be interested in supporting _redirects files with query parameters, similar to Netlify)? (Re: ipfs/kubo#8890). If this seems valuable, I'd put a PR together (here and in ipfs/kubo).

I would find it valuable to be able to write a redirects file similar to the one below, to be able to provide responses to 'dynamic-looking' web-requests (from clients that expect to use specific, query parameter-based, GET APIs) via IPFS:

/things type=:type /things/:type.html 200
/things /things.html 200

(This is identical to the format Netlify uses — only required parameters must be specified.)

GET /things?type=photos → Served from /things/photos.html
GET /things → Served from /things.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions