Skip to content

Commit 0efbacf

Browse files
committed
Fix exception when sending actual request (Fix #250)
1 parent dc4350d commit 0efbacf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift

+8
Original file line numberDiff line numberDiff line change
@@ -324,5 +324,13 @@ public extension MultipartFormDataBodyParameters {
324324
override func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode) {
325325

326326
}
327+
328+
override func property(forKey key: Stream.PropertyKey) -> Any? {
329+
return nil
330+
}
331+
332+
override func setProperty(_ property: Any?, forKey key: Stream.PropertyKey) -> Bool {
333+
return false
334+
}
327335
}
328336
}

0 commit comments

Comments
 (0)