Files
sdk/runtime/bin
sgjesse@google.com ebc838c963 Check the state of the HTTP request and response when handling headers
The HTTP headers object in request and response objects is now marked
as non-mutable when it cannot be changed. An exception will be thrown
if trying to mutate headers when they are not mutable.

Postponed the sending of the headers until either the first byte of
body data is sent or the empty body is indicated. This is to allow
getting the output stream object and still be able to set headers
until the actual body is touched.

Added checking of the number of bytes of body data transmitted when an
explicit content length is specified.

R=ajohnsen@google.com

BUG=none
TEST=tests/standalone/src/io/HttpHeadersState.dart,tests/standalone/src/io/HttpContentLengthTest.dart

Review URL: https://chromiumcodereview.appspot.com//10232006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7010 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 11:43:32 +00:00
..
2012-04-17 11:53:56 +00:00
2012-03-27 08:50:35 +00:00
2012-03-27 08:50:35 +00:00
2012-01-12 19:32:06 +00:00
2012-01-10 16:50:14 +00:00
2012-04-26 08:12:17 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-03-09 23:12:03 +00:00