Thanks, Nick.  Done <https://github.com/elm-lang/http/issues/11>.

On Friday, 18 November 2016 23:47:09 UTC, Nick H wrote:
>
> I don't have a workaround. But it sound like it's worth opening a bug 
> report <https://github.com/elm-lang/http/issues>
>
> On Fri, Nov 18, 2016 at 2:14 PM, John Watson <[email protected] 
> <javascript:>> wrote:
>
>> You mean just set the Accept header on the request to audio/midi?  No, 
>> exactly the same problem, I'm afraid.
>>
>> On Friday, 18 November 2016 17:22:59 UTC, Nick H wrote:
>>>
>>> Does anything different happen if you use a MIDI mimetype, like 
>>> "audio/midi"?
>>>
>>> On Fri, Nov 18, 2016 at 5:33 AM, John Watson <[email protected]> wrote:
>>>
>>>> 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.
>>>>
>>>
>>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to