2 ms·
I guess it's not valid, although the impact might be that big if it's only you calling your own endpoints. If you want to be really correct you could use your o
by richdougherty 4y ago
I guess it's not valid, although the impact might be that big if it's only you calling your own endpoints. If you want to be really correct you could use your own content type under the vendor tree: https://www.rfc-editor.org/rfc/rfc6838#section-3.2 https://www.rfc-editor.org/rfc/rfc6838#section-3.2.
E.g.
Content-type: application/vnd+yourorg.htmlx+html-snippet
- devmunchies 4y agoSome discussion here https://stackoverflow.com/questions/19303361/content-type-for-html-fragments https://stackoverflow.com/questions/19303361/content-type-fo... Basically that nowadays it’s fine to use text/html for html fragments, because the content is still html, even if it’s not a full document.