|
The RFCs have always allowed you to return a payload with non-2xx status
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 communications,ability
not what happened in the background (ie, the data they sent was invalid)
I have seen payloads returned with 4xx 5xx codes before though. Not sure
what 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 protocols
IBM is VERY adherent to the RFCs... almost to a fault sometimes. :)
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 html).--
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-2025 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.