[teiid-issues] [JBoss JIRA] (TEIID-4789) OData - Allow reading/writing messages in GZIP format

Juraj Duráni (JIRA) issues at jboss.org
Mon Feb 27 12:25:00 EST 2017


    [ https://issues.jboss.org/browse/TEIID-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13369821#comment-13369821 ] 

Juraj Duráni commented on TEIID-4789:
-------------------------------------

The way how to make client aware of the compression is via standard HTTP header 'Content-Encoding'.
The basic idea is:
Iff client send HTTP request header  'Accept-Encoding' with value 'gzip' (e.g Firefox sends 'Accept-Encoding: gzip,deflate'), then server will encode output as a GZIP and send it along with HTTP response header 'Content-Encoding: gzip'. Otherwise response body will not be inflated. I.e. we will inflate it only if user is capable of handling it (which he/she states so with setting 'Accept-Encoding' header)

Similary for request body. If client sends HTTP request header 'Content-Encoding: gzip', then we expect input to be inflated and we will deflate if before passing to the application.

> OData - Allow reading/writing messages in GZIP format
> -----------------------------------------------------
>
>                 Key: TEIID-4789
>                 URL: https://issues.jboss.org/browse/TEIID-4789
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: OData
>            Reporter: Juraj Duráni
>            Assignee: Juraj Duráni
>            Priority: Minor
>
> Allow writing and reading messages in GZIP format for OData interfaces.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the teiid-issues mailing list