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?
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
User | Count |
---|---|
5 | |
2 | |
2 | |
1 | |
1 |