(&self)
| 521 | self.payload.cached_raw_body = Some(raw.clone()); |
| 522 | raw |
| 523 | } |
| 524 | |
| 525 | /// Check if response is JSON based on content-type |
| 526 | pub fn is_json(&self) -> bool { |
| 527 | self.content_category() == ContentCategory::Json |
| 528 | } |
| 529 | |
| 530 | /// Check if response is an image |
| 531 | pub fn is_image(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected