The impl of Display for StatusCode already includes the canonical reason if it exists. The current implementation duplicates this (e.g. the status line will read "101 Switching Protocols Switching Protocols", or "400 Bad Request Bad Request".pull/140/head
parent
006cec72ea
commit
bcf2b22d9e
Loading…
Reference in new issue