@@ -13,6 +13,7 @@ module Orb.Response.ContentType
13
13
, applicationXRarCompressed
14
14
, applicationXSh
15
15
, applicationXTar
16
+ , applicationXWwwFormUrlencoded
16
17
, applicationXhtmlXml
17
18
, applicationXml
18
19
, applicationZip
@@ -29,11 +30,13 @@ module Orb.Response.ContentType
29
30
, imageTiff
30
31
, imageWebp
31
32
, imageXIcon
33
+ , multipartFormData
32
34
, textCalendar
33
35
, textCss
34
36
, textCsv
35
37
, textHtml
36
38
, textJavascript
39
+ , textPlain
37
40
, videoMpeg
38
41
, videoWebm
39
42
, videoXMsvideo
@@ -123,6 +126,12 @@ applicationXSh = BS8.pack "application/x-sh"
123
126
applicationXTar :: ContentType
124
127
applicationXTar = BS8. pack " application/x-tar"
125
128
129
+ {- | A 'BS.ByteString' representation of the
130
+ /application\/x-www-form-urlencoded/ MIME type (HTML form data).
131
+ -}
132
+ applicationXWwwFormUrlencoded :: ContentType
133
+ applicationXWwwFormUrlencoded = BS8. pack " application/x-www-form-urlencoded"
134
+
126
135
{- | A 'BS.ByteString' representation of the /application\/xhtml+xml/ MIME type
127
136
(XHTML documents).
128
137
-}
@@ -219,6 +228,12 @@ icons).
219
228
imageXIcon :: ContentType
220
229
imageXIcon = BS8. pack " image/x-icon"
221
230
231
+ {- | A 'BS.ByteString' representation of the /multipart\/form-data/ MIME type
232
+ (HTML form data).
233
+ -}
234
+ multipartFormData :: ContentType
235
+ multipartFormData = BS8. pack " multipart/form-data"
236
+
222
237
{- | A 'BS.ByteString' representation of the /text\/calendar/ MIME type (.ics
223
238
calendar files).
224
239
-}
@@ -249,6 +264,12 @@ scripts).
249
264
textJavascript :: ContentType
250
265
textJavascript = BS8. pack " text/javascript"
251
266
267
+ {- | A 'BS.ByteString' representation of the /text\/plain/ MIME type (plain
268
+ text).
269
+ -}
270
+ textPlain :: ContentType
271
+ textPlain = BS8. pack " text/plain"
272
+
252
273
{- | A 'BS.ByteString' representation of the /video\/mpeg/ MIME type (.mpeg or
253
274
.mpg videos).
254
275
-}
0 commit comments