Closed nollium closed 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.
Thank you. I have added httpVersion to HttpMessage. It will be in the next version of the api.
[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.