Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8283249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:40:26+00:00 2026-06-08T10:40:26+00:00

HTTP specification (RFC2616) has the following phrase: If a Transfer-Encoding header field (section 14.41)

  • 0

HTTP specification (RFC2616) has the following phrase:

If a Transfer-Encoding header field (section 14.41) is present and
has any value other than “identity”, then the transfer-length is
defined by use of the “chunked” transfer-coding (section 3.6),
unless the message is terminated by closing the connection.

How can I detect that the message is “terminated by closing the connection”? Is it enough to check the “Connection” field for value “close”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:40:27+00:00Added an answer on June 8, 2026 at 10:40 am

    I think that the RFC points to the TCP connection, when you read 0 bytes from the socket, the other side has closed the connection.

    More:
    Can read() function on a connected socket return zero bytes?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the HTTP specification states that the Transfer-Encoding header is allowed for requests - but
As per the HTTP specification: If a resource has been created on the origin
I have not found any specification about whether duplicate HTTP response headers are allowed
The HTTP/1.1 specification ( RFC2616 ) defines a number of status codes that can
FLV format specification is here: http://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf 1) FLV body consists of tags 2) Each
Mode : http://www.emacswiki.org/emacs/CSharpMode log: Loading /.emacs.d/contrib/dev/csharp-mode.el Done loading /.emacs.d/contrib/dev/csharp-mode.el File mode specification error: (void-function
http://www.example.com?a=1&a=2 has a valid form-urlencoded querystring and has two values ( 1 and 2
What is the specification for maximum data size one can send with HTTP POST
My understanding from reading the specification ( http://www.ietf.org/rfc/rfc2445.txt ) is that the : character
Consider the following code ( http://jsfiddle.net/FW36F/1/ ): <input type=checkbox onchange=alert(this.checked)> <button onclick=document.getElementsByTagName('input')[0].checked=!document.getElementsByTagName('input')[0].checked;>toggle</button> If you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.