Package: OpenG Commander ver 2.00 alpha3 build:0009
When starting OpenG Commander with preferences set
to use a proxy for tcp communications, the
function "OGPM http Get Document_ogc.vi" fails in its
first call (fetch the document at
http://openg.org/packages/openg.ogpd\) with an error
404 (document not found). The problem appears to be in
the formation of the GET command in "OGPM http Get
Document_ogc.vi" which forms the GET command as:
"GET http://openg.org/packages/openg.ogpd HTTP/1.0
"
If the GET command is instead formed as:
"GET http://openg.org/packages/openg.ogpd HTTP/1.0
host:openg.org
"
the GET succeeds.
Attached is a modified version of "OGPM http Get
Document_ogc.vi" and the support vi "JA_Build_GET.vi"
which show one method of creating the new GET
command.
Thanks,
Jim
zip of revised OGPM http Get Document__ogc.vi