Learn R Programming

webdeveloper (version 1.0.0)

parseHTTP: Parse a HTTP request

Description

Parse a HTTP request

Usage

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

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.

Value

A named list.

Examples

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

Run the code above in your browser using DataLab