synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prabath ariyarathna (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-1016) Cannot preserve some required transport headers in the passthru and nhttp transports
Date Wed, 25 May 2016 17:08:12 GMT

     [ 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-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message