Lines Matching refs:body
32 pub body: Option<String>, field
120 http_request.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()
137 if let Some(body) = &self.body { in marshal()
138 request_str += &format!("Content-Length: {}\r\n", body.len()); in marshal()
146 if let Some(body) = &self.body { in marshal()
147 request_str += body; in marshal()
159 pub body: Option<String>, field
199 http_response.body = Some(request_data[header_end_idx..].to_string()); in unmarshal()
219 if let Some(body) = &self.body { in marshal()
220 response_str += &format!("Content-Length: {}\r\n", body.len()); in marshal()
224 if let Some(body) = &self.body { in marshal()
225 response_str += body; in marshal()