frankframework / frankframework/frankframework
Improve response code handling http sender
- Dominant language
- Java
- Stars
- 167
- Forks
- 87
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 206
Description
**Reporter**
Jeroen Jansen van Rosendaal
**Is your feature request related to a problem? Please describe.**
The http sender has recently been updated to accept the whole 2xx range as a success response (before it was just 200)
for more control over the http responses I would like a more fine-grained http status code handling
**Describe the solution you'd like**
For the future I would like the http sender to be able to call a forward based on the five categories
1xx informational response – the request was received, continuing process ==> ??
2xx successful – the request was successfully received, understood, and accepted ==> Success
3xx redirection – further action needs to be taken in order to complete the request ==> ??
4xx client error – the request contains bad syntax or cannot be fulfilled ==> Failure
5xx server error – the server failed to fulfil an apparently valid request ==> Exception
I would like the returned status code to be available as a session key so I can create logic to differentiate onm the different response codes
**Describe alternatives you've considered**
resultStatusCodeSessionKey= true
**Additional context**
FF 8?
Contributor guide
Assessment
This issue has not been assessed yet.