[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HttpApi Urgent Help **
Hello,
On 1/4/2012 10:04 PM, Giovanni De Cristoforo wrote:
> c eval rc = http_url_get(wkNewLoc:'/tmp/test1.html:30:UserAgent')
> was wrong
> and was meant to be
> c eval rc = http_url_get(wkNewLoc:'/tmp/test1.html':30:UserAgent)
Yes, I assumed that.
Did you understand what I said about the endless loop?
> Note UserAgent is a defined constant with the "User Agent String". I
> read somewhere that some servers could check this data and if they do
> not like it, reject the connection.
> What do you think about this?
That sort of thing was commonplace when I designed HTTPAPI back in 2001.
It's no longer commonplace today -- if I were you, I'd use the default
user-agent string. I'd only change it if it causes a problem.
> Also please note that my current HTTPAPI is at 1.23
> I have followed the RPG EXAMPLE12 included in LIBHTTP to handle
> cookies.
Yes, that's an obsolete example, it will not be included in the next
release of HTTPAPI.
> I have no idea how to manage cookies in other ways.
> Do you think that upgrading to Beta I could resolve this issue?
I don't know what the issue is, so I can't answer that question. You've
only given me rather high-level information about the problem, you
haven't shown be the actual details.
But, there have been fixes to the cookie support that could potentially
matter -- so please upgrade so that you are using the beta.
Then, please remove the calls to http_xproc() so that cookie support can
process normally.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------