Given:
- Windows开发者_如何学Python
- Client-Server communication over HTTP with protocol buffers
- Agent-Server communication over HTTP with protocol buffers (a different .proto spec)
- Both .proto files are available
Needed: the ability to examine the decoded HTTP traffic per request/response.
Fiddler seems an ideal tool for this and in fact I am using it constantly. However and quite understandable, it cannot decode the requests/responses encoded with protocol buffers. On the other hand I know that:
- Fiddler can be extended
- Given the respective .proto files, the protocol buffers output can be easily decoded.
My question is whether anyone else has encountered with the same issue and whether there is a way to resolve it.
Of course, I prefer fast and easy solutions over long and hard ones (like writing a Fiddler extension from scratch), but in the absense of the former I guess I would settle for the latter as well.
To all the good samaritans out there - thanks in advance.
Wireshark may be your friend here, since there is an existing plugin: protobuf-wireshark
精彩评论