Expected results of http-request-005

Has anyone else attempted to pass the http-request-005 test?

  http://tests.xproc.org/tests/required/http-request-005.xml

Having now rewritten the Calabash code that decodes multipart MIME
messages, I'm confident that the expected results are incorrect. You
can test this yourself by cutting out the base64 encoded lines of the
second part and decoding them. The result is not a valid PNG file.

In case you think you're passing that test :-), my guess is that my
old code was (incorrectly) interpreting the byte stream of the image
as UTF-8.

I must have assumed I got it right and used my earlier output as the
expected result. My bad.

If no one disagrees, I'm going to correct the expected results of
http-request-005.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | What good is a can of worms if you
http://nwalsh.com/            | never open it?--Bob Arning

Received on Tuesday, 3 February 2009 00:00:25 UTC