VERSION | = | [1,3] | The Rack protocol version number implemented. | |
PATH_INFO | = | 'PATH_INFO'.freeze | ||
REQUEST_METHOD | = | 'REQUEST_METHOD'.freeze | ||
SCRIPT_NAME | = | 'SCRIPT_NAME'.freeze | ||
QUERY_STRING | = | 'QUERY_STRING'.freeze | ||
CACHE_CONTROL | = | 'Cache-Control'.freeze | ||
CONTENT_LENGTH | = | 'Content-Length'.freeze | ||
CONTENT_TYPE | = | 'Content-Type'.freeze | ||
GET | = | 'GET'.freeze | ||
HEAD | = | 'HEAD'.freeze |
parse_nested_query expands a query string into structural types. Supported types are Arrays, Hashes and basic value types. It is possible to supply query strings with parameters of conflicting types, in this case a ParameterTypeError is raised. Users are encouraged to return a 400 in this case.