ghcjs / ghcjs-base

base library for GHCJS for JavaScript interaction and marshalling, used by higher level libraries like JSC
MIT License
45 stars 67 forks source link

custom request methods for XMLHttpRequest #123

Closed mikelpr closed 4 years ago

mikelpr commented 5 years ago

HTTP allows for extension methods but only GET | POST | PUT | DELETE are defined for XMLHttpRequest.Method. it'd be better if the functions that take Method took jsstrings instead, or a Method constructor that takes a string.