Today I started getting an error on juliabox that only occurs in 0.3.11. I
posted this to the 'Requests' github, but I thought it may not actually be
the source of the issue. Can anyone shed any light?
If you run this:
resp = get("http://httpbin.org/get")
object = JSON.parse(resp.data::String);
println(object)
Returns:
Julia 0.4.0-dev
Dict{AbstractString,Any}("headers"=>Dict{AbstractString,Any}("Host"=>"httpbin.org","Accept"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","User-Agent"=>"Requests.jl/0.0.0"),"args"=>Dict{AbstractString,Any}(),"url"=>"http://httpbin.org/get","origin"=>"xxxxx")
Julia 0.3.11
type: typeassert: expected String, got Array{Uint8,1}
while loading In[6], in expression starting on line 2