FrostDigital / fruster-api-gateway

MIT License
0 stars 0 forks source link

Rewrite HTTP path with dots #46

Closed joelso closed 6 years ago

joelso commented 6 years ago

Rewrite paths with dots into "escaped" dots to be able to parse NATS subjects and params properly

For example:

GET /foo.bar => http.get.foo{dot}bar

Note that fuster-bus should be updated to rewrite foo{dot}bar into foo.bar so developer does not need to do any manual rewrites. This is covered in https://github.com/FrostDigital/fruster-bus-js/issues/76