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

CPP API Request object should directly support setting the host.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: CPP API
    • Labels:

      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

              • Assignee:
                amc Alan M. Carroll
                Reporter:
                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