Utility Functions for Developing Web Applications

High performance in-memory http request parser for application/json, multipart/form-data, and application/x-www-form-urlencoded. Includes live demo of hosting and parsing multipart forms with either 'httpuv' or 'Rhttpd'.



  • Use curl_unescape() in parse_query() because utils::URLdecode() is broken for UTF-8
  • Assume UTF-8 for all strings in rawToChar()


  • Rewrite of multipart parser in C
  • Use the new curl::curl_echo() function to test the parser

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.6 by Jeroen Ooms, 2 years ago


Report a bug at https://github.com/jeroen/webutils/issues

Browse source code at https://github.com/cran/webutils

Authors: Jeroen Ooms

Documentation:   PDF Manual  

Task views: Web Technologies and Services

MIT + file LICENSE license

Imports curl, jsonlite

Suggests httpuv, testthat

Imported by MazamaWebUtils, jug, opencpu, reqres.

Suggested by curl.

See at CRAN