D
Dan Janowski
I assert that initialize_query is broken. CGI:arse should _always_ be
called on the QUERY_STRING, no matter if the REQUEST_METHOD is POST or
GET.
I would also say that instead of @params being an Array of Strings, it
should contain String like object that have an additional property that
indicates the parameter source, i.e. GET, POST, or COOKIE. Cookies
should also be in the @params so they can be [] found.
The only other point on this would be to allow optional order of
parsing, and thus the @params component array orders.
This is a staple of web programming and is something PHP does right and
JSP does wrong.
I think this can all be done in the dist cgi.rb without causing anyone
headaches.
Can these changes be incorporated into the next 1.8 with my help?
Dan
called on the QUERY_STRING, no matter if the REQUEST_METHOD is POST or
GET.
I would also say that instead of @params being an Array of Strings, it
should contain String like object that have an additional property that
indicates the parameter source, i.e. GET, POST, or COOKIE. Cookies
should also be in the @params so they can be [] found.
The only other point on this would be to allow optional order of
parsing, and thus the @params component array orders.
This is a staple of web programming and is something PHP does right and
JSP does wrong.
I think this can all be done in the dist cgi.rb without causing anyone
headaches.
Can these changes be incorporated into the next 1.8 with my help?
Dan