digestive-functors-0.8.4.0: A practical formlet library

Safe HaskellSafe
LanguageHaskell98

Text.Digestive.Form.Encoding

Description

Provides a datatype to differentiate between regular urlencoding and multipart encoding for the content of forms and functions to determine the content types of forms.

Synopsis

Documentation

data FormEncType Source #

Content type encoding of the form, either url encoded (percent-encoding) or multipart encoding. For details, see: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4

Constructors

UrlEncoded 
MultiPart 

formTreeEncType :: FormTree Identity v m a -> FormEncType Source #

Determines the encoding type of a FormTree