| 120 | } |
| 121 | |
| 122 | void |
| 123 | Response::setReasonPhrase(const string &phrase) |
| 124 | { |
| 125 | if (state_->hdr_buf_ && state_->hdr_loc_) { |
| 126 | TSHttpHdrReasonSet(state_->hdr_buf_, state_->hdr_loc_, phrase.c_str(), phrase.length()); |
| 127 | LOG_DEBUG("Changing response reason phrase to '%s' with hdr_buf=%p and hdr_loc=%p", phrase.c_str(), state_->hdr_buf_, |
| 128 | state_->hdr_loc_); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | Headers & |
| 133 | Response::getHeaders() const |
nothing calls this directly
no test coverage detected