On Tuesday, April 12, 2022 at 11:59:30 AM UTC+2 Sven Selberg wrote:
Hi,
It was brought to my attention by a colleague of mine, who is working on integrating with Gerrit using go-git, that Gerrit doesn't follow HTTP Smart protocol.
Regardless of http status code that is reported (404 missing in this particular case) the GitSmartHttpTool always responds to the client with 200 [1].
I have uploaded a fix [2] for jgit:master to describe what might be a suitable solution to this.
I'd consider it a bug-fix but I don't normally contribute to jgit and feel a bit lost as to where/how to fix it.