Commit Graph

7 Commits

Author SHA1 Message Date
kustermann@google.com f5e64533a3 Fix multipart transformer in package:mime
The error codition occures in the following scenario:
A multipart transformer returns a new multipart, that part is listened on, but
the subscription for more parts is cancelled. This used to cause cancellation of
the byte stream into the multipart parser, which caused the first part to never
be read completely.

R=lrn@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org//874223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43726 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-12 13:51:18 +00:00
sgjesse@google.com 7086214a4e Handle multipart MIME parsing with no parts
The multipart MIME parser did not correctly handle the case where there
was only the final boundary.

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//739533002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41805 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 14:40:00 +00:00
kevmoo@google.com 0c4403ee54 pkg/mime: layout as mini-libraries
Update version for publishing
Updated max unittest dependency version

R=ajohnsen@google.com

Review URL: https://codereview.chromium.org//272353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36115 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 17:49:01 +00:00
kevmoo@j832.com 18d38085ab pkg: analysis aided cleanup
Removed a lot of warnings and hints when opening many pkg projects in the editor

R=gram@google.com

Review URL: https://codereview.chromium.org//22284003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25831 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 20:42:04 +00:00
ajohnsen@google.com d3870479df Run mime-multipart test in 'test' callback.
BUG=

Review URL: https://codereview.chromium.org//19158004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24993 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 09:15:18 +00:00
ajohnsen@google.com 40c7d89d66 Move MimeMultipartTransformer and HttpBodyHandler to mime and http_server packages.
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//18438005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24991 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 08:40:36 +00:00
ajohnsen@google.com 8e5b350649 Add a new MIME-type package 'mime', with implementation for handling mime-type lookup by path (finename extension) and magic-number matching.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//17582009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24324 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 11:55:49 +00:00