webmockr icon indicating copy to clipboard operation
webmockr copied to clipboard

Change BODY_FORMATS to accommodate more possible content types

Open sckott opened this issue 1 year ago • 0 comments

right now BODY_FORMATS is just a lookup in a named list. This doesn't allow for flexibly detecting json or xml, etc. in a content type string. so change to a function call probably where could do the current lookup first, and if no match, then regex for json, xml, html, etc.

sckott avatar Oct 10 '24 17:10 sckott