The example didn't seem to have made it to the mailing list. Here it is:
https://github.com/apache/trafficserver/blob/master/plugins/experimental/esi/combo_handler.cc#L419
On Tuesday, February 2, 2016 7:45 AM, Sudheer Vinukonda
<[email protected]> wrote:
There are TS API that let you retrieve basic URL components like hostname
(TSHttpHdrUrlGet), scheme (TSUrlSchemeGet), path(TSUrlPathGet), query string
(TSUrlHttpQueryGet) etc. but, there's no generic API that can parse params
within a query string.
Typically, plugin developers tend to do this sort of stuff on their own. Here's
an example where a plugin retrieves the query string and parses the params.
Thanks,
Sudheer
On Tuesday, February 2, 2016 7:31 AM, Devaki Chokshi (dchokshi)
<[email protected]> wrote:
Hello,
I am fairly new to ATS.
Are there any available APIs/libraries in ATS 6.0 that will parse a URL?
Thank you
Devaki