Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parse_multipart

Parse multipart form data


Description

This function parses the HTML form data from a Rook environment (an HTTP POST request).

Usage

parse_multipart(env)

Arguments

env

the HTTP request environment

Value

A named list containing the values of the form data, and the files uploaded are saved to temporary files (the temporary filenames are returned). It may also be NULL if there is anything unexpected in the form data, or the form is empty.

References

This function was borrowed from https://github.com/jeffreyhorner/Rook/ with slight modifications.


mime

Map Filenames to MIME Types

v0.10
GPL
Authors
Yihui Xie [aut, cre] (<https://orcid.org/0000-0003-0645-5666>), Jeffrey Horner [ctb], Beilei Bian [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.