Andrew Stadler
87fcd03a1b
Improve handling of content-disposition
...
* Check array returned by split("=")
* Add unit tests for this case
* Also add unit tests for quoting removal
Bug: 3040796
Change-Id: I170f3cd483fe35186194edeb0c3142fb0e2e9b75
2010-09-27 15:09:35 -07:00
Patrick Horn
2517a3dfd1
Trim the mime type portion of Content-Type.
...
Fixes parsing of Content-Type headers like "text/plain ; charset=iso-8859-1"
Added unit tests for whitespace and the charset parameter
2010-01-21 11:46:20 -08:00
Tadashi Takaoka
44cf2e2882
Automated import from //branches/cupcake/...@142522,142522
2009-03-25 01:29:24 -07:00
Tadashi Takaoka
d351a92869
Automated import from //branches/cupcake/...@142456,142456
2009-03-24 19:44:56 -07:00
Andy Stadler
f7eead2074
Automated import from //branches/cupcake/...@142109,142109
2009-03-24 19:00:38 -07:00
The Android Open Source Project
8aeb922462
auto import from //branches/cupcake_rel/...@141571
2009-03-19 23:08:56 -07:00
The Android Open Source Project
3469902379
auto import from //branches/cupcake_rel/...@140373
2009-03-18 17:39:48 -07:00
The Android Open Source Project
96c5af40d6
auto import from //depot/cupcake/@135843
2009-03-03 19:32:22 -08:00
The Android Open Source Project
8c2158a5eb
auto import from //depot/cupcake/@135843
2009-03-03 18:28:50 -08:00
The Android Open Source Project
b957c79556
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:13 -08:00