Jim Heyne
Jim Heyne
**Work-around:** Set the body first _(this sets default headers)_, then set the headers.
For clarity, this is what worked for me: Request request = new Request('POST', Uri.parse(url)); request.body = body; request.headers['content-type'] = 'text/xml'; request.headers['accept'] = 'text/xml';
I upgraded this code to Dart 2.0, available at https://github.com/jheyne/diff-match-patch. Hopefully, my changes (or similar) will find it's way to this repository and pub.
Sure, Boris -- thanks for your work on this. [email protected] Jim On Sun, Oct 7, 2018 at 10:30 PM Boris Kaul wrote: > @jheyne I've stopped using Dart, so it...