[ https://issues.apache.org/jira/browse/TS-5025?focusedWorklogId=31383&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31383 ]
ASF GitHub Bot logged work on TS-5025: -------------------------------------- Author: ASF GitHub Bot Created on: 01/Nov/16 15:04 Start Date: 01/Nov/16 15:04 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1167 Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/1028/ for details. Issue Time Tracking ------------------- Worklog Id: (was: 31383) Time Spent: 0.5h (was: 20m) > CPP API Request object should directly support setting the host. > ---------------------------------------------------------------- > > Key: TS-5025 > URL: https://issues.apache.org/jira/browse/TS-5025 > Project: Traffic Server > Issue Type: Improvement > Components: CPP API > Reporter: Alan M. Carroll > Assignee: Brian Geffon > Time Spent: 0.5h > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)