Handle Fault Rule for "messaging.adaptor.http.flow.LengthRequired"

In the scenary test in my company we use a proxy "BURP" to intercept message request sent by Postman.

In this case, when the message was intercepted by Burp, we change the GET method to POST and the content-length attribute was "0" because the original reques was a GET.

The response was a 411 length required error.

Is there any way to do this error handling and return a standard http friendly message?

0 1 858
1 REPLY 1

Valid POST requests with content-length of 0 would not trigger this error message, so it seems likely that your modifications in Burp are producing an invalid HTTP request