gi-soup-0.2.52.12: Soup bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Structs.Multipart

Contents

Description

Represents a multipart HTTP message body, parsed according to the syntax of RFC 2046. Of particular interest to HTTP are literalmultipartbyte-ranges<literal> and literalmultipartform-data<literal>.

Although the headers of a #SoupMultipart 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 #SoupMultipart for handling real MIME multiparts.

Synopsis

Exported types

Methods

multipartAppendFormFile

multipartAppendFormString

multipartAppendPart

multipartFree

multipartGetLength

multipartGetPart

multipartNew

multipartNewFromMessage

multipartToMessage