I have a small MIDI <https://github.com/newlandsvalley/elm-comidi/blob/master/test/midi/chordsample.midi> file. With Elm 0.17 (evancz/elm-http) I had been able to use the 'overrideMimeType hack' to tunnel the file through HTTP as if it were text. Here's a gist <https://gist.github.com/newlandsvalley/9cb76e88d2b2c6108b3338fffd9e39dd>. This hack no longer works <https://gist.github.com/newlandsvalley/945d278e0570254285f77d0e863e8059> in Elm 0.18 (where I have followed suggestions from elm-dev on slack simply to use an appropriate Accept header). What seems to happen is that characters and 8-bit numbers come across unscathed but binary values larger than 255 do not. This is evident in the MIDI sample from byte 23 where the decoded result differs from the 0.17 version.
Can anybody suggest an alternative workaround? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
