Skip to content

Commit 639ad74

Browse files
committed
FIX: LOAD can't open JSON over HTTP
resolves: Oldes/Rebol-issues#2563
1 parent 93e07d6 commit 639ad74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mezz/sys-load.reb

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ read-decode: function [
271271
; Try to load it (will fail if source is a url)
272272
data: load-extension source ; returns an object or throws an error
273273
][
274-
data: read/binary source ; can be string, binary, block
274+
data: read source ; can be string, binary, block
275275
if find system/options/file-types type [data: decode type :data] ; e.g. not 'unbound
276276
]
277277
data

0 commit comments

Comments
 (0)