You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/01 14:48:58 UTC

[jira] [Work logged] (TS-5025) CPP API Request object should directly support setting the host.

     [ https://issues.apache.org/jira/browse/TS-5025?focusedWorklogId=31381&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31381 ]

ASF GitHub Bot logged work on TS-5025:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Nov/16 14:48
            Start Date: 01/Nov/16 14:48
    Worklog Time Spent: 10m 
      Work Description: GitHub user SolidWallOfCode opened a pull request:

    https://github.com/apache/trafficserver/pull/1167

    TS-5025: Add 'setHost' method to 'atscppapi::Request'

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SolidWallOfCode/trafficserver ts-5025

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1167.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1167
    
----
commit 250f49d64b0cb222c448c8d48628bdb3c757211b
Author: Alan M. Carroll <so...@yahoo-inc.com>
Date:   2016-11-01T14:29:00Z

    TS-5025: Add "setHost" method to atscppapi::Request

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 31381)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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: 10m
>  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)