JosiahWI commented on PR #13313:
URL: https://github.com/apache/trafficserver/pull/13313#issuecomment-4841684192
@mmustafasenoglu A quick scan of our built-in plugins shows that we use
`TSUrlHostGet` correctly, but we have an example plugin (redirect_1) which does
not. As you said, the documentation is unclear about the behavior in the early
hook scenarios.
Where I think we should go with this, if you are up for it:
- Document `TSHttpHdrUrlGet` to clarify what parts of the URL are
available at what hook
- Fix the example plugin (probably to use `TSHttpHdrHostGet`)
It would be good for both the `TSHttpHdrUrlGet` and `TSUrlHostGet` docs to
cross-reference `TSHttpHdrHostGet`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]