Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-5025

CPP API Request object should directly support setting the host.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • CPP API

    Description

      Just setting the host in the URL or in the headers can create a malformed request. The Request object itself should support at setHost method that takes care of the details of updating both without adding the host to the URL if it's not already present.

      Attachments

        Issue Links

          Activity

            People

              amc Alan M. Carroll
              amc Alan M. Carroll
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m