× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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,
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 ability
to use an IFS stream file as the body of the email (either text or html).



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.