Open tryzniak opened 4 years ago
Maybe method should just be a custom type with only the supported http verbs?
@RenFontes I like your idea, maybe something like:
type Method = GET | POST | ... Custom String
Custom
would let a user set any value for a method, though I'm not sure if that make sense, there should probably be such freedom
I'm 99% sure I spotted a bug in Elm. If I try to make a request below
I get the following error:
If I uppercase
patch
then everything works fine! The request below works line:Tested on Firefox 70. I think the offending line is https://github.com/elm/http/blob/615275c1dac50befe4fe81f600b960e1f92b239f/src/Elm/Kernel/Http.js#L31