@karel The question is worse than that because it is extremely unclear as well as off-topic. However, I don't think it's actually asking for code in the sense you mean. Based on the wording in the title and body, it's asking for how to get
HTTP response status codes, and not requesting that people write any C code.