public Method

HTTPUtils.split_header_value(str)

There's no documentation for this item.

Source Code

# File webrick/httputils.rb, line 156
def split_header_value(str)
  str.scan(/((?:"(?:\\.|[^"])+?"|[^",]+)+)
            (?:,\s*|\Z)/xn).collect{|v| v[0] }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.