Unlimited learning, half price | 50% off
Get 50% off unlimited learning

webdeveloper (version 1.0.5)

parseHTTP: Parse a HTTP request

Description

Parse a HTTP request

Usage

parseHTTP(x, content_type_header = NULL, consolidate = TRUE)

Value

A named list.

Arguments

x

The body of the HTTP request

content_type_header

A string containing the content type header.

consolidate

TRUE/FALSE, if TRUE, consolidates items with the same name.

Examples

Run this code
parseHTTP("?form_id=example&col_name=Test+String", "application/x-www-form-urlencoded")

Run the code above in your browser using DataLab