     /// @param    value        The header field value.
     /// @param    header       The header field name (case-insensitive).
     ///
-    public func setValue( value: String!, forHeader header: String ) {
+    open func setValue( _ value: String!, forHeader header: String ) {
         headers[header] = value
     }
     

            default:
                self.mimeType = "application/octet-stream"
            }
        }
    }
    
    init( name: String, withData data: NSData, withMimeType mimeType: String ) {
        self.name = name
        self.data = data
        self.fileName = name

        if let mimeType = mimeType {
            self.mimeType = mimeType
        }
        
        let _name = url.lastPathComponent
        // if let _name = url.lastPathComponent {
            fileName = _name
        // }
        
        let _extension = url.pathExtension
        // if let _extension = url.pathExtension {
            switch _extension.lowercased() {
            case "jpeg", "jpg":
                self.mimeType = "image/jpeg"
                
