PortSwigger / burp-extensions-montoya-api

Burp Extensions Api
Other
125 stars 3 forks source link

httpVersion() missing from HttpMessage #45

Closed nollium closed 1 year ago

nollium commented 1 year ago

[httpVersion](https://portswigger.github.io/burp-extensions-montoya-api/javadoc/burp/api/montoya/http/message/responses/HttpResponse.html#httpVersion())() is a method common to all HttpMessages but is only defined in the concrete classes.

There is no good reason to not have it defined in HttpMessage, other HTTP APIs with a similar OOP architecture like mitmproxy have no trouble doing it.

SeanBurnsUK commented 1 year ago

Thank you. I have added httpVersion to HttpMessage. It will be in the next version of the api.