I don't know why it took me so long to make a custom "search engine" in my browser so that I can type "http 502" and have it make a request to https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/502.
@benhamill Nice!
You got me thinking, and looks like typing !mdn: 502 also works, provided one is using #DuckDuckGo as default search engine. I did not know this, and now I can see myself using this daily!