(&mut self, cx: &mut Context<Self>)
| 502 | Self::compute_stored_hash(&self.payload.body, &self.payload.body_bytes); |
| 503 | |
| 504 | had_body_bytes && self.payload.body_bytes.is_empty() |
| 505 | } |
| 506 | |
| 507 | /// Detect content category from content-type header |
| 508 | pub fn content_category(&self) -> ContentCategory { |
| 509 | Self::classify_content(self.content_type.as_deref(), &self.payload.body_bytes) |
| 510 | } |
| 511 | |
| 512 | fn raw_body_arc(&mut self) -> Arc<str> { |