Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Highlighting the parts of HTTP response at IHttpListener

Anton Nov 07, 2018 11:48PM UTC

Hey,

I am developing small extension and I need analyze all HTTP responses and highlight some of their parts. I noticed that I should use applyMarkers callback to highlight them, but I do not understand either I can use this callback inside IHttpListener. This callback does not add the markers to analyzed messageInfo but only returns new IHTTPRequestResponse object and the markers obviously are not applied to the current analyzed message. Can I do this in some way or the markers only works through scan issues?

Thanks a lot!


Paul Johnston Nov 12, 2018 11:00AM UTC Support Center agent

Unfortunately, applyMarkers isn’t really useful within IHttpListener. As you’ve noticed, it only works with scan issues.

What quite a few extensions do is report tentative issues if they detect potentially interesting request or responses. If that’s going to be too much volume in your case, you could implement IMessageEditorTab instead.


Post Your public answer

Your name
Your email address
Answer