- = Just $ do setContentType $ mkMIMEType "text" "html"
- output ("<title>Multipart Form Test</title>\n" ⊕
- "<form action=\"/\" method=\"post\" enctype=\"multipart/form-data\">\n" ⊕
- " Upload some file:\n" ⊕
- " <input type=\"text\" name=\"text\">\n" ⊕
- " <input type=\"file\" name=\"file\">\n" ⊕
- " <input type=\"submit\" value=\"Submit\">\n" ⊕
- "</form>\n")
+ = Just $ do setContentType $ parseMIMEType "text/html"
+ putChunks $ "<title>Multipart Form Test</title>\n"
+ ⊕ "<form action=\"/\" method=\"post\" enctype=\"multipart/form-data\">\n"
+ ⊕ " Upload some file:\n"
+ ⊕ " <input type=\"text\" name=\"text\">\n"
+ ⊕ " <input type=\"file\" name=\"file\">\n"
+ ⊕ " <input type=\"submit\" value=\"Submit\">\n"
+ ⊕ "</form>\n"