parseHTTP: Parse a HTTP request

View source: R/webdeveloper.R

parseHTTPR Documentation

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

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

webdeveloper documentation built on Oct. 18, 2022, 9:06 a.m.