I can see what you mean in the docs, but in those examples the Status header seems to be redundant, and just repeats the HTTP response status. Maybe use that instead?
Ah, I see! I don’t know if the change was intentional from Github, so I can’t say if the header might be added back. I think reporting a bug against that external library would be good either way.
Hi @thulin82 This is a change from our (GitHub’s) side where the status header is no longer being returned as of very recently. The status header was previously included by the rack server we use and the newer version has removed it. The infrastructure team confirmed that we won’t be able to roll this back and restore the header unfortunately.
The workaround is to use the HTTP status itself, rather than the status header. Apologies if this caused downtime for you, this was an unfortunate side effect on the upgrade and not how we would usually announce breaking changes. I’ve noticed some libraries making the required changes for this. Is this a feasible approach for the library that you’re using?
As for the documentation, thank you for flagging the inconsistency there. We’ll be updating the docs to reflect the recent changes.
Hi @imwiss Thank you for a really great answer!
In our team we’ve now made some local changes in our build chain to overcome this problem, which is a short term solution we can live with. The long time solution is to abandon this library.
Even though it’s not a solution, we now know why it stopped working, and we’ve been able to solve it.
Thank you for your time!