Object Hierarchy:

Soup.Multipart Soup.Multipart Soup.Multipart


[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "soup_multipart_get_type ()" ) ]
[ Compact ]
[ Version ( since = "2.26" ) ]
public class Multipart

Represents a multipart HTTP message body, parsed according to the syntax of RFC 2046.

Of particular interest to HTTP are multipart/byte-ranges and multipart/form-data.

Although the headers of a Multipart body part will contain the full headers from that body part, libsoup does not interpret them according to MIME rules. For example, each body part is assumed to have "binary" Content-Transfer-Encoding, even if its headers explicitly state otherwise. In other words, don't try to use Multipart for handling real MIME multiparts.

Namespace: Soup
Package: libsoup-2.4


Creation methods: