http icon indicating copy to clipboard operation
http copied to clipboard

Tarantool http server

Results 30 http issues
Sort by recently updated
recently updated
newest added

As each request is handled in separate fiber it could be useful to store some information in `fiber.storage` (https://github.com/tarantool/tarantool/issues/3462)

documentation

One should be able to unregister routes. For example in case of switching on/off routes with feature toggles.

feature
http.server

I need to use rules like: ``` //[.]domain.com/path/ ``` and get variables sub and id for db query. If host == domain.com, variable sub must have default value. Can I...

feature

https://github.com/tarantool/http/blob/8909e39049b8124c62593ce4e83ab68b95c47765/http/server/init.lua#L245-L251 Seems it should be `headers.connection`, but not `p.headers.connection`. If we return `headers['connection'] = 'closes'` it actually ignores.

bug

It also worth to add new Fedora versions and update others if there are new ones. This module is often used with tarantool/metrics, so we should support at least those...

ci

Would be nice to have a method to remove or reset already registered routes as part of public http API. Possible scenarios of application: 1. handlers reload for e.g. in...

feature

See 863c1b35905234a43021bf0b0fd2adceb1fc4ef6. (Please, remove it from [here](https://github.com/tarantool/http/blob/f11a68ffe49a3c4baf03f23df929afd6ed5f5588/http/server.lua#L1316) too.)

documentation

It's gonna be useful to install error handlers as it is done in flask: (https://flask.palletsprojects.com/en/2.1.x/errorhandling/) `app.register_error_handler`

feature

I needed to extract the body of the query as a string without parsing json. I expected `req:request_line()` to return the query body because of it's description "returns the request...

documentation

https://github.com/tarantool/http/blob/da78c018a620f88b930f5f1aa0f14fbc39745ccc/http/server.lua#L717-L720 Static_file dir should a part of route. ``` httpd:route( {path = "/*slug", public = true, name = "default"}, http_middleware.v1(handle_get_default, http_collector) ) ``` Currently it is not possible to have...

feature