You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Net.Http/MultipartContent.xml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,10 @@
52
52
</Attributes>
53
53
<Docs>
54
54
<summary>Provides a collection of <seecref="T:System.Net.Http.HttpContent" /> objects that get serialized using the multipart/* content type specification.</summary>
55
-
<remarks>To be added.</remarks>
55
+
<remarks>
56
+
Multipart messages must contain one or more body parts. When a <seecref="T:System.Net.Http.MultipartContent" /> instance with zero parts is serialized, it's written as a single empty part with no content headers or message body.
57
+
If your server doesn't support such contents with zero parts, consider conditionally using a different <seecref="T:System.Net.Http.HttpContent" /> type or no <seecref="T:System.Net.Http.HttpContent" />.
0 commit comments