class ElasticAPM::TraceContext::Tracestate
def split_by_nl_and_comma(str)
def split_by_nl_and_comma(str) # HTTP allows multiple headers with the same name, eg. multiple # Set-Cookie headers per response. # Rack handles this by joining the headers under the same key, # separated by newlines. # See https://www.rubydoc.info/github/rack/rack/file/SPEC String(str).split(ENTRY_SPLIT_REGEX).flatten end