etr / libhttpserver

C++ library for creating an embedded Rest HTTP server (and more)
GNU Lesser General Public License v2.1
882 stars 184 forks source link

Consider family_url in ordering of http_endpoint. #306

Closed bcsgh closed 1 year ago

bcsgh commented 1 year ago

This will allow calling register_resource independently for a path as a family and non-family.

Requirements for Contributing a Bug Fix

Identify the Bug

https://github.com/etr/libhttpserver/issues/305

Description of the Change

Consider family_url in ordering of http_endpoint.

Alternate Designs

None.

Possible Drawbacks

This will change behavior of programs in some cases. In general however, those cases are already not doing what the user likely expects.

Verification Process

TBD

Release Notes

Allow register_resource to use the same path for family and non-family cases in the same webserver.

etr commented 1 year ago

Thanks for the change. This is really helpful