|
Yes Scott. I am using IWS. This is limitation in IWS it seems. I will send
the httpsstatus code in output string by setting the httpStatus code as
always 200 and also will request the client the ignore the httpstatus code
and instead use the code in the response string.
Regards,
Surender K
On Thu, Jul 25, 2019 at 1:25 PM Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:
The RFCs have always allowed you to return a payload with non-2xx statuscommunications,
codes.
If you write your own web service with Apache, et al, you can do this as
well.
It sounds like Suren is having this problem with IWS, so I was hoping to
see a response from Nadir about it. Good chance that this is a
limitation in IWS, but he's the expert.
On 7/25/2019 11:12 AM, B Stone wrote:
Remember HTTP status codes are for the state of the HTTP
invalid)not what happened in the background (ie, the data they sent was
sure
I have seen payloads returned with 4xx 5xx codes before though. Not
protocolswhat the RFC is on that offhand. But if IBM is returning no payload, I
would venture to guess that is the correct method as most other
html).IBM is VERY adherent to the RFCs... almost to a fault sometimes. :)ability
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #13 <https://www.bvstools.com/mailtool.html>: The
to use an IFS stream file as the body of the email (either text or
----
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.