You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2019/08/16 18:25:19 UTC

[GitHub] [cxf] reta commented on issue #572: CXF-8089: Build Comma Separated Values in url from Array/List Query Param

reta commented on issue #572: CXF-8089: Build Comma Separated Values in url from Array/List Query Param
URL: https://github.com/apache/cxf/pull/572#issuecomment-522106262
 
 
   Hi @deki,
   
   Thanks a lot for the review. Yes, this is 100% CXF-specific. This is what spec (https://tools.ietf.org/html/rfc6570) says for multi-value query string:
   
     >  An explode modifier applied to a list variable causes the expansion
      to iterate over the list's member values.  For path and query
      parameter expansions, each member value is paired with the variable's
      name as a (varname, value) pair.  This allows path and query
      parameters to be repeated for multiple values, as in
   
        Given the variable assignments
   
          year  := ("1965", "2000", "2012")
          dom   := ("example", "com")
   
        Example Template     Expansion
   
          find{?year*}       find?year=1965&year=2000&year=2012
          www{.dom*}         www.example.com
   
   Basically, CXF allows an alternative but adhere to spec by default. 
   Thanks!
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services