尝试连接到Julia中的浏览器时出错

时间:2019-04-04 16:09:56

标签: http julia

运行我的julia代码时出现以下错误:

┌ Error: (MethodError(name_of_function, (HTTP.Messages.Request:
│ """
│ GET / HTTP/1.1
│ Host: localhost:3000
│ Connection: keep-alive
│ Accept: application/json, text/plain, */*
│ Origin: null
│ User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4)             AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
│ Accept-Encoding: gzip, deflate, br
│ Accept-Language: en-US,en;q=0.9
│ 
│ """,), 0x0000000000006516),     Base.StackTraces.StackFrame[handle(::HandlerFunction{typeof(handler_robustness)}, ::Request) at Handlers.jl:35, (::##7#11{Server{http,HandlerFunction{typeof(handler_robustness)}}})(::Request) at Servers.jl:163, handle_request(::##7#11{Server{http,HandlerFunction{typeof(handler_robustness)}}}, ::Stream{Request,Transaction{TCPSocket}}) at Servers.jl:510, handle_stream(::##7#11{Server{http,HandlerFunction{typeof(handler_robustness)}}}, ::Stream{Request,Transaction{TCPSocket}}) at Servers.jl:486, (::##55#56{Bool,##7#11{Server{http,HandlerFunction{typeof(handler_robustness)}}},Transaction{TCPSocket},Stream{Request,Transaction{TCPSocket}}})() at task.jl:259])
└ @ HTTP.Servers ~/.julia/packages/HTTP/YjRCz/src/Servers.jl:490

是否有解决此问题的想法?

0 个答案:

没有答案