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..
Thanks,
Matt
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..
Thanks,
Matt