You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, it should be easy to register handlers for specific Accept headers. E.g. router.get('example://*/**', {Accept: "text/event-stream"}, (request) => response)
This will make it easy to add different "renderers" for URLs for different mime types. E.g. having a separate function for HTML vs JSON for a given resource.
The text was updated successfully, but these errors were encountered:
In particular, it should be easy to register handlers for specific
Accept
headers. E.g.router.get('example://*/**', {Accept: "text/event-stream"}, (request) => response)
This will make it easy to add different "renderers" for URLs for different mime types. E.g. having a separate function for HTML vs JSON for a given resource.
The text was updated successfully, but these errors were encountered: