Skip to main content

parse_boundary

Function parse_boundary 

Source
pub fn parse_boundary(content_type: &str) -> Result<String, MultipartError>
Expand description

Parse boundary from Content-Type header.

Content-Type format: multipart/form-data; boundary=----WebKitFormBoundary...