[ 
https://issues.apache.org/jira/browse/SYNAPSE-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

prabath ariyarathna updated SYNAPSE-1016:
-----------------------------------------
    Attachment: http_headers_preserve.diff

Preserving HTTP headers are important when executing backend services via 
applications/middleware. This is because most of the time certain important 
headers are removed or modified by the applications/middleware which run the 
communication. 
The existing version of our Synapse only supported “server” and “user agent” 
header fields to preserve with, but with this fix, we’ve introduced a new 
property (*http.headers.preserve*) for the passthru 
(*repository/conf/passthru-http.properties*) and 
Nhttp(*repository/conf/nhttp.properties*) transporters to preserve more HTTP 
headers. 

*Passthru transporter – support header fields*            
* Location
* Keep-Alive
* Content-Length
* Date
*Server
* User-Agent
* Host

*Nhttp transport – support headers*
* Server
* User-Agent
* Date

> Cannot preserve some required transport headers in the passthru and nhttp 
> transports
> ------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-1016
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1016
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: prabath ariyarathna
>            Assignee: Hiranya Jayathilaka
>         Attachments: http_headers_preserve.diff
>
>
> We cannot preserve some important transport level headers like Location, 
> Date, Keep-Alive, Content-Length



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
For additional commands, e-mail: dev-h...@synapse.apache.org

Reply via email to