HTTP.jl
HTTP.jl copied to clipboard
error in v0.2
I can't get the examples from your page to work:
require("HTTP/ocean")
using Ocean
app = new_app()
get(app, "/", function(req, res, _)
return "Hello World"
end)
BasicServer.bind(8000, binding(app), true)
Here's the output:
$ ../../julia/julia test.jl
WARNING: parse_int is deprecated, use parseint instead.
ERROR: could not open file /Users/xx/projects/test/src/Pkg.jl
in include_from_node1 at loading.jl:90
in reload_path at loading.jl:113
in require at loading.jl:48
in include_from_node1 at loading.jl:90
in reload_path at loading.jl:113
in require at loading.jl:48
in include_from_node1 at loading.jl:90
in reload_path at loading.jl:113
in require at loading.jl:48
in include_from_node1 at loading.jl:90
in process_options at client.jl:253
in _start at client.jl:334
at /Users/xx/.julia/HTTP/src/Ocean.jl:15
at /Users/xx/.julia/HTTP/ocean.jl:2
at /Users/xx/projects/test/src/test.jl:1