Search found 652 matches

by Scott Klement
Tue Apr 16, 2024 7:36 pm
Forum: HTTPAPI
Topic: host differs to domain fronting proxy
Replies: 5
Views: 269

Re: host differs to domain fronting proxy

Yeah, that shouldn't be in there... probably got accidentally added via copy/paste and nobody noticed because the proxy support worked.

Can you try the latest beta copy of HTTPAPI and see if it is resolved for you?
https://www.scottklement.com/httpapi/beta/
by Scott Klement
Tue Apr 16, 2024 5:22 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 353

Re: Request: make parser locale independent

This is perfect, I'll go ahead and make those few changes and put it online for the 6.1 version.

Right now there is no public repository for my fork of YAJL -- but, that is on my to-do list.
by Scott Klement
Mon Apr 15, 2024 9:25 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 353

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: 5
Views: 269

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: 9
Views: 353

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

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

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

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

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

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...