Class Misago\ActionController\CgiRequest

(F)CGI requests.

CgiRequest handles HTTP headers, GET and POST parameters, etc. for (F)CGI requests. For instance on PUT requests, POST data isn't parsed. Also when using the 404-handler, QUERY_STRING isn't parsed.

CgiRequest handles all of that, and much more, transparently.

See Misago\ActionController\AbstractRequest for actual documentation.

Inheritence

Extends:
Misago
Implements:
AbstractRequest

Public instance attributes

Protected instance attributes

Methods

Public instance methods

__construct()

accepts()

content_type()

format($force_format=null)

IMPROVE: Check HTTP Accept header when :format isn't specifically defined in path_parameters.

host()

is_ssl()

is_xml_http_request()

method()

parameters()

path()

path_parameters($params=null)

port()

port_string()

protocol()

raw_body()

relative_url_root()

remote_ip()

subdomains()

url()