Closed mikeyjones closed 2 years ago
Thanks for the detailed issue! Just pushed up a change to fix this. I'll need to check on what arbitrary method handling should look like (and CONNECT
has some different behavior). But at least PATCH
should be working now.
Hi Rawhat,
I hit an issue when I set the HTTP method to PATCH, Mist crashes, with this error:
It looks like it's happening in
http.gleam
online 124
when it calls|> atom.to_string
. To me it seems like it's expecting an Atom but is getting passed a bitstring, although I am very new to Erlang so the errors do not make massive sense to me yet. I tried these other HTTP verbs Get,Post, Put, Delete and those all work fine, I haven't tried header, option etc.. yet.Let me know if I can help to identify the issue and fix.