Dyalog / conga-apl

Source code, build and test scripts used to build and test Dyalog APL's core communication library, Conga (conga.dws)
http://docs.dyalog.com/latest/Conga%20User%20Guide.pdf
MIT License
5 stars 0 forks source link

Using :/ rather than :// in Samples.HTTPGet leads to an untrapped error in HostPort #1

Closed dyaandys closed 7 years ago

dyaandys commented 7 years ago

Missed the second "/" by mistake.

  Samples.HTTPGet'http:/www.dyalog.com'

INDEX ERROR HostPort[4] port←1⊃2⊃⎕VFI z↓host ⋄ host←(z-1)↑host ⍝ Use :port if found in host name ∧

Any chance of doing a little more to spot this (unintentional) error ?

bpbecker commented 7 years ago

I've added additional argument checking in the HTTP functions in Samples.