HTTP HEAD
qaisjp opened this issue · 0 comments
qaisjp commented
Is your feature request related to a problem? Please describe.
#48 / #42 does not support HTTP_HEAD and says:
notImplemented('HTTP', 'A HEAD type have not support right now')
Describe the solution you'd like
Provide an options table and provide the method field.
Additional context
If you scroll down on https://wiki.multitheftauto.com/wiki/FetchRemote you can see the 'new' syntax (introduced in 2017) which accepts a table of options and looks like this:
bool fetchRemote ( string URL[, table options ], callback callbackFunction[, table callbackArguments ] )
This options table has the following field:
- method: A string specifying the request method. (Defaults to GET or POST)