http-server-simple
http-server-simple copied to clipboard
removed redundant(?) methods hash. gave warnings
Hey,
This line was emitting a warning:
Code object coerced to string (please use .gist or .perl to do that) in method new at lib/HTTP/Server/Simple.pm6:24
I couldn't see %methods
being used anywhere so I removed the line.
Thanks
Or if it is being used, maybe change it to:
my %methods = self.^methods.map({.gist}) Z 1..*;
(untested)