local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

! consider url params when matching url templates #80

Closed 10xSebastian closed 7 years ago

10xSebastian commented 7 years ago

Patch Version

Some hyperlinks already contain get parameters, reflecting default parameter/values, for example offset & limit:

GET http://datastore/places/1
{
  feedbacks: { href: 'http://datastore/places/1/feedbacks?limit=10&offset=0' }
}

Those have not been matched by url templates like :datastore/places/:id/feedbacks.

Now they are.