• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reponse Commit

 
Prathap kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a basic question,
When does the response object gets committed.
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The response is composed of:
1. the status line (which contains the HTTP version, the status code and a short human-readable message corresponding to the status code),
2. the optional response headers
3. a blank line, and
4 and the content body (the web resource you requested),
in that order.
The container buffers the response headers, but the content need not be. The response is considered committed if the buffer is already flushed to the client.
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prathap kumar:
I have a basic question,
When does the response object gets committed.

depends on buffer size.
 
Prathap kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Anthony & Ravish,
Thanks for your explanations.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic