I checked the documentations on WebServer but I don't see any way to get the request method (GET, POST, etc) and header sent by the client. The (request, info) passed to servlet only contains the passed parameter, and the info only contains the remoteAddress property.
Note: I checked the property using for(var prop in info)so tell me if it actually contains more information on it.
I wanted to create a real RESTful WebServer, but without knowing detailed information about the request sent, it is very hard to do it, right now I am using the request parameters to pass what the request method is.
Thank You