You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a discussion. In Rails and PHP, they parse a uri of something like http://localhost:3000/?foo=1&bar[]=2&bar[]=3to Parameters: {"foo"=>"1", "bar"=>["2", "3"]}.
Yet right now we just treat bar[] as a literal string, so:
URI only does a basic parsing, based on &, it does not provide any specific
parameter parsing. You can roll your own or use plug (which provides
something like PHP/Rails).
And remember to use the mailing list for questions the next time :)
Just a discussion. In Rails and PHP, they parse a uri of something like
http://localhost:3000/?foo=1&bar[]=2&bar[]=3
toParameters: {"foo"=>"1", "bar"=>["2", "3"]}
.Yet right now we just treat
bar[]
as a literal string, so:Is one better than another? I will really appreciate any response. 😄
The text was updated successfully, but these errors were encountered: