You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/02/18 22:17:27 UTC

[jira] Assigned: (TS-189) TS should not send Transfer-Encoding header for responses with an empty body

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

Bryan Call reassigned TS-189:
-----------------------------

    Assignee: Bryan Call  (was: Steve Jiang)

> TS should not send Transfer-Encoding header for responses with an empty body
> ----------------------------------------------------------------------------
>
>                 Key: TS-189
>                 URL: https://issues.apache.org/jira/browse/TS-189
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Steve Jiang
>            Assignee: Bryan Call
>            Priority: Minor
>             Fix For: 2.0.0a
>
>         Attachments: TS189_sjiang.diff
>
>
> In the following scenario with an If-Modified-Since (IMS)/If-None-Match request from the client:
> client IMS request -> | TS 
>         TS IMS request -> | origin
>         TS  | <- origin 200 response 
> client | <- TS 304 response
> When the origin's response to TS is chunked, TS sends a "Transfer-Encoding: chunked" header with the 304 response to the client without any body or 0 chunk.  This, from my reading of the RFC appears to be valid ("The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields.").
> However, curl (7.16.3) complains and initiates a close when it gets a response with Transfer-Encoding: chunked with no body.  To avoid confusion TS should not send Transfer-Encoding header for responses with an empty body.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.