Search found 658 matches

by Scott Klement
Fri Apr 12, 2024 5:21 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 671

Re: Request: make parser locale independent

After your first statement that YAJLR4 didn't change, I downloaded the file from my site and restored and check the source member, and indeed, it had the new code in it. I've now done it again. So TWICE I've re-downloaded from my site and restored it, and indeed, the updated source is there. You're ...
by Scott Klement
Thu Apr 11, 2024 11:41 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 671

Re: Request: make parser locale independent

The changes I made aren't related to DATA-INTO... I didn't even think about DATA-INTO. They are only related to the yajl_get_number and yajl_get_bignumber subprocedures. You said there weren't any changes to YAJLR4? That shouldn't be the case. I added a new (internal) subprocedure called getDouble()...
by Scott Klement
Thu Apr 11, 2024 11:27 pm
Forum: HTTPAPI
Topic: host differs to domain fronting proxy
Replies: 5
Views: 628

Re: host differs to domain fronting proxy

Sorry, I don't understand. What do you mean by "the host name and the host header differ"? HTTP/1.1 is the version of HTTP and is required to be there, always... not sure what that has to do with security.
by Scott Klement
Thu Apr 11, 2024 5:49 am
Forum: HTTPAPI
Topic: HTTP 400 Bad Request
Replies: 2
Views: 266

Re: HTTP 400 Bad Request

What you've posted isn't what you're actually doing because it's not valid RPG syntax. It also isn't valid URL syntax (you can't put the = character in the middle of a field value since it separates the variable name from it's value) My guess is that you're trying to do this?? URL = 'https://www4.wa...
by Scott Klement
Thu Apr 11, 2024 5:36 am
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 489

Re: OUATH2

Bruce, Okay, that helps me understand. Your code (posted yesterday) has this: "grant_type : client_credentials" For some reason you have a colon between the "grant_type" and it's value "client_credentials". That's why I thought it was a header, because headers use a col...
by Scott Klement
Wed Apr 10, 2024 5:22 am
Forum: YAJL-ILE
Topic: Seeking advice on AXIS transport API
Replies: 3
Views: 397

Re: Seeking advice on AXIS transport API

I have only used the AXISC Transport API twice, both for demo programs that have never been used in production. I have never run into the problem you're having, and I don't have any idea what "ChannelFactory::preloadChannel()" means. It doesn't appear to be an error message, but rather the...
by Scott Klement
Tue Apr 09, 2024 8:50 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 489

Re: OUATH2

I made some changes but for some reason it still thinks I am using JSON. I am baffled. The log says you are sending application/x-www-form-urlencoded and the error message says nothing about the content-type. why do you say it is still JSON? I completely disagree with that assessment. I think the p...
by Scott Klement
Tue Apr 09, 2024 8:40 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 671

Re: Request: make parser locale independent

That's a good find!

Please download the current one from https://www.scottklement.com/yajl/ and see if it fixes the problem for you.

Thanks!
by Scott Klement
Sat Apr 06, 2024 8:05 pm
Forum: HTTPAPI
Topic: Changing the log file
Replies: 2
Views: 307

Re: Changing the log file

What do you mean by log files? Do you mean the http_debug log from HTTPAPI? You should be able to call http_debug(*ON: filename); Then when you want to change the name, call http_debug(*off) and http_debug(*on: newfilename); But you also mention cycling a server, and HTTPAPI doesn't have servers... ...
by Scott Klement
Thu Apr 04, 2024 3:58 am
Forum: HTTPAPI
Topic: (GSKit) Access to the key database is not allowed (ssl_error 6003)
Replies: 3
Views: 320

Re: (GSKit) Access to the key database is not allowed (ssl_error 6003)

Here's the specific situation, and perhaps based on that you can give me your opinion on best solution: (My take on what little I know and am learning about the certificate store is that access to it is all or nothing, meaning you cannot limit an authorized user to a specific portion or key in the ...