Search found 5 matches

by Alan5432
Mon May 15, 2023 7:24 pm
Forum: HTTPAPI
Topic: keep-alive
Replies: 1
Views: 1842

keep-alive

What would it take to have the ability to SetOption for 'Connection'. Either setting it to 'Keep-Alive' or 'Close'.
by Alan5432
Wed Apr 05, 2023 12:11 am
Forum: HTTPAPI
Topic: HTTP response header
Replies: 4
Views: 2257

HTTP response header

Is there any way to capture the response header instead of just the body/form data? I know I can interrogate the return code from something like http_req but I would find it useful to be able to examine the response header as well.
by Alan5432
Fri Nov 04, 2022 8:59 pm
Forum: HTTPAPI
Topic: Persistent connection
Replies: 3
Views: 5878

Re: Persistent connection

I'm struggling with http_persist_req(). I'm using string variables for my send and receive and the send is working fine. In http_req the RcvProc is set to the %PADDR of RcvToBuf, but I don't think I have access to that internal procedure. I saw several examples that used the IFS for the receive with...
by Alan5432
Wed Oct 19, 2022 9:50 pm
Forum: HTTPAPI
Topic: Persistent connection
Replies: 3
Views: 5878

Persistent connection

I'm trying to do multiple http_req('POST'... operations through TLS and it appears to be closing the connection after each post response is processed. Is there something that can be done to continue to re-use the established connection until the timeout is reached? recvresp(): entered HTTP/1.1 200 O...
by Alan5432
Mon Sep 26, 2022 10:17 pm
Forum: YAJL-ILE
Topic: Data-Into loses embedded blanks
Replies: 1
Views: 1332

Data-Into loses embedded blanks

I have a JSON element that will contain some Y/N flags, but there can be embedded blanks in the string. "Flags": "YNNYN Y" My data structure allows a string of up to 40 characters: DS Flags char(40); My issue is that after the Data-Into the value in Flags is this: Flags = 'YNNYN ...