/////////////////////////////////////////////////////////////////// Just convert the outgoing request to the appropriate version
| 274 | //////////////////////////////////////////////////////////////////////// |
| 275 | // Just convert the outgoing request to the appropriate version |
| 276 | void |
| 277 | HttpTransactHeaders::convert_request(HTTPVersion outgoing_ver, HTTPHdr *outgoing_request) |
| 278 | { |
| 279 | if (outgoing_ver == HTTPVersion(1, 1)) { |
| 280 | convert_to_1_1_request_header(outgoing_request); |
| 281 | } else if (outgoing_ver == HTTPVersion(1, 0)) { |
| 282 | convert_to_1_0_request_header(outgoing_request); |
| 283 | } else { |
| 284 | Dbg(dbg_ctl_http_trans, "[HttpTransactHeaders::convert_request]" |
| 285 | "Unsupported Version - passing through"); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | //////////////////////////////////////////////////////////////////////// |
| 290 | // Just convert the outgoing response to the appropriate version |
nothing calls this directly
no test coverage detected