Check the status code is informational and expecting final response - e.g. "100 Continue", "103 Early Hints" Please note that "101 Switching Protocol" is not included. */
| 924 | Please note that "101 Switching Protocol" is not included. |
| 925 | */ |
| 926 | inline bool |
| 927 | HTTPHdr::expect_final_response() const |
| 928 | { |
| 929 | switch (this->status_get()) { |
| 930 | case HTTP_STATUS_CONTINUE: |
| 931 | case HTTP_STATUS_EARLY_HINTS: |
| 932 | return true; |
| 933 | default: |
| 934 | return false; |
| 935 | } |
| 936 | } |
| 937 | |
| 938 | /*------------------------------------------------------------------------- |
| 939 | -------------------------------------------------------------------------*/ |
no test coverage detected