Support & Learning
Mobility and High Productivity App Dev
Data Connectivity and Integration
Web Content Management
Get A Free Trial
close mobile menu
Extensions and Customization
A multipart/mixed inspector?
Feed for this thread
2 posts, 0 answers
Posted 31 Jan 2014
Link to this post
I work with OData $batch payloads quite a bit. These are multipart/mixed -- both request and response.
I normally use the RAW view to make sure the headers, verbs, and batch envelopes look right.
However, the payload of a multipart/mixed has additional "sessions" and bodies inside of it, and none of the inspectors can reason over those.
The XML and JSON inspectors are especially nice for examining the entity data in OData batch requests, especially as the payload XML and JSON typically doesn't have line breaks in it.
My dream is proper support for multipart/mixed, such that the normal inspector chain can be re-used on each sub-item in the batch.
That way, when I look at a request/response pair that are batch, I can move through each batch part, and when I get to one with a JSON payload I can flip the JSON inspector on and get a nice structured view.
Have you thought about how to do this? I submitted some code to the WCF Binary inspector a while back, but this "super inspector" seems like it has some substantial additional requirements. Certainly, to make this excellent you'd need some additional UI magic to deal with presentation and context selection for each batch element; furthermore you might want to have an option so that changing the currently selected batch element in the request also changes to a corresponding (in sequence position) response inspector..
Posted 31 Jan 2014 in reply to
Link to this post
Hey, Matt-- Thanks for the post. I've indeed given the multipart/mixed scenario a bit of thought over the years, but haven't come up with a good approach for doing this yet that would be able to leverage all of the other Inspectors. I'll continue to think about this; if you have some examples (SAZ files) you could share with me to ensure I'm building the right thing for you, please send them my way using the Help > Send Feedback option in Fiddler.
Back to Top