HTTP Response Status Line #5589
scrumgelist
started this conversation in
Feature/Enhancement Ideas
Replies: 2 comments
-
I'd like to share my idea in order to minimize GUI and behavior changes, the modified code could:
Example: string "540 Patient not found" results in status code 540 and status message "Patient not found" and both then is returned in the HTTP servlet response Optionally, a response transformer could get 2 new reserved variables, similar to httpResponseStatusCode = 540;
httpResponseStatusMessage = "Patient not found"; Means:
A tiny documentation change would be needed (see here, item "K"). |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Within the HTTP Listener setup it is possible to set the response status code.
It is not possible to set the accompanying status text. (I'd love to wrong)
Please either allow the text to be set along with the code or provide an adjacent box for the text.
If done ${customResponseCode} could contain "540 Patient not found" instead of "540" or the adjecent box the text element "Patient not found". This enables the simple sending of bilaterally agreed status messages.
Out of respect for 418 and 451 it may be desirable to prevent the changing of 'official code texts' if the selected status code has an official meaning, so long as the offical text is attached to the status code if specified.
See discussion re need for request here: #5587
Beta Was this translation helpful? Give feedback.
All reactions