4D v16.2.214903 32bit
Windows 10 64bit
HTTP SET OPTION(HTTP_follow_redirect;1)
HTTP SET OPTION(HTTP_max_redirect;5)
HTTP SET OPTION(HTTP_timeout;15)

$url_t is a sub.domain.com:443 address with a path, and a query value. None of 
the url characters require encoding. 

When testing the same set of data using CURL, the result is correct, there is 
no error.

$http_Status_l:=HTTP Request(HTTP POST 
method;$url_t;$content_ob;$response_ob;$aHeaderNames;$aHeaderValues)

When $content_ob is an object with json, and the headers and values are both 
empty,  HTTP Request is returning an error 17, Unimplemented control 
instruction. The instance errors in about 10 seconds.

When $content_ob is an object, and the headers and values defined with 
“content-type” “application/json”,  HTTP Request is returning an error 1. This 
instance errors in less than 2 seconds.

When $content_ob is type text, and the headers and values are both empty,  HTTP 
Request is returning an error 1. This instance errors in less than 2 seconds.

The $http_status_l is 0 (zero) for every execution instance.

Help please!

David Ringsmuth

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to