Logo: Relish

  1. Sign in

Project: Rack-matrixparams

Provides matrix URL parameters as if they were given as GET parameters to Rack applications

As a developer on the rack platform
I want my application to be able to comprehend [matrix parameter][1] style URLs
So that I can ensure these parameters are considered when older WWW servers are caching HTTP requests

Matrix parameters are present in the query parameters environment variable
I make a GET request of "/normal/path/with/params;a=1;b=2/in;c=3/the/middle"
Rack's "PATH_INFO" environment variable is "/normal/path/with/params/in/the/middle"
Rack's "QUERY_STRING" environment variable is "params[a]=1&params[b]=2&in[c]=3"

Last published almost 7 years ago by JP Hastings-Spital.