
## MultipartContent class

Represents a multipart/* content.



**Inheritance:** [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) → 
[`Content`](/html/python-net/aspose.html.net/content)



The MultipartContent type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html.net/multipartcontent/__init__/#) | Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class. |
| [__init__](/html/python-net/aspose.html.net/multipartcontent/__init__/#str) | Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class  with subtype. |
| [__init__](/html/python-net/aspose.html.net/multipartcontent/__init__/#str-str) | Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class  with subtype and boundary. |


### Properties
| Property | Description |
| :- | :- |
| [headers](/html/python-net/aspose.html.net/multipartcontent/headers) | Gets the HTTP content headers. |


### Methods
| Method | Description |
| :- | :- |
| [read_as_stream](/html/python-net/aspose.html.net/multipartcontent/read_as_stream/#) | Serialize the HTTP content and return a stream that represents the content. |
| [read_as_byte_array](/html/python-net/aspose.html.net/multipartcontent/read_as_byte_array/#) | Serialize the HTTP content and return a byte array that represents the content. |
| [read_as_string](/html/python-net/aspose.html.net/multipartcontent/read_as_string/#) | Serialize the HTTP content and return a string that represents the content. |
| [add](/html/python-net/aspose.html.net/multipartcontent/add/#aspose.html.net.Content) | Add a new content to the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) |



### See Also
* module [`aspose.html.net`](..)
* class [`Content`](/html/python-net/aspose.html.net/content)
* class [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent)
