()
| 1338 | |
| 1339 | #[test] |
| 1340 | fn validate_content_length_rejects_missing_header() { |
| 1341 | let err = validate_content_length(None, 4096, "bucket", "ws/key").unwrap_err(); |
| 1342 | assert!(err.to_string().contains("did not report Content-Length")); |
| 1343 | } |
| 1344 | |
| 1345 | #[test] |
| 1346 | fn validate_content_length_rejects_negative_length() { |
nothing calls this directly
no test coverage detected