[ 
https://issues.apache.org/jira/browse/TS-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000479#comment-15000479
 ] 

Boaz Reicher commented on TS-4015:
----------------------------------

[~briang], [~sudheerv] : Can you please review and merge?

Note:  I'm aware that this functionality already exists in 
Response::setStatusCode(), but this is required in cases where the Response 
objects haven't been initialized yet.  For example, a plugin that needs to 
block requests after reading the request headers and set a 401 return status 
would use this method (and Transaction::error(const std::string &page)).

Thanks,

> Add a transaction method to set the HTTP return status
> ------------------------------------------------------
>
>                 Key: TS-4015
>                 URL: https://issues.apache.org/jira/browse/TS-4015
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: CPP API
>            Reporter: Boaz Reicher
>            Assignee: Brian Geffon
>         Attachments: patch-4015.diff
>
>
> The Transaction class should have a method that allows setting the HTTP 
> return status without requiring a Response object.  Primarily needed for 
> setting error responses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to