elm / http

Make HTTP requests in Elm
https://package.elm-lang.org/packages/elm/http/latest
BSD 3-Clause "New" or "Revised" License
155 stars 46 forks source link

IE support - add expectBlobResponse #57

Closed panthershark closed 5 years ago

panthershark commented 5 years ago

This is one approach for coercing the response from an xhr into a blob instead of an ArrayBuffer. Putting this in the module isn't really necessary, but it keeps application code from being tempted to use Elm.Kernel directly.

This might be a decent solution to https://github.com/elm/http/issues/56

evancz commented 5 years ago

It looks like the fix in https://github.com/bpampuch/pdfmake/issues/294 would be better. Got a VM with IE11 on it now, so I can try it out.

panthershark commented 5 years ago

One of my friends already submitted this as an alternative. - https://github.com/elm/file/pull/7