Search found 650 matches

by Scott Klement
Mon Apr 15, 2024 9:25 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 7
Views: 255

Re: Request: make parser locale independent

I understand. I sympathize with you, but I can't support V6R1.

If you'd like to contribute what you have working on 6.1 back to the project, I can update the download that's made for IBM i 6.1 customers to the newer code that you've got working.
by Scott Klement
Mon Apr 15, 2024 9:24 pm
Forum: HTTPAPI
Topic: host differs to domain fronting proxy
Replies: 3
Views: 180

Re: host differs to domain fronting proxy

Oh, you're saying that HTTP/1.1 is somehow being added to the host: header? That shouldn't be happening.
by Scott Klement
Fri Apr 12, 2024 5:21 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 7
Views: 255

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: 7
Views: 255

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: 3
Views: 180

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: 134

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: 329

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: 250

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: 329

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: 7
Views: 255

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!