static
| 51 | |
| 52 | // static |
| 53 | const char* HttpRequest::GetMethodName(MethodType method) { |
| 54 | if (method <= METHOD_UNKNOWN || method >= METHOD_UPPER_BOUND) { |
| 55 | return NULL; |
| 56 | } |
| 57 | return kValidMethodNames[method - 1].method_name; // Start from 1 |
| 58 | } |
| 59 | |
| 60 | bool HttpRequest::ParseStartLine(const StringPiece& data, HttpMessage::ErrorCode* error) { |
| 61 | ErrorCode error_placeholder; |
nothing calls this directly
no outgoing calls
no test coverage detected