In js (a || b) evaluates to a.
In this case that means, that the switch case for the content-type never goes into case: urlencoded || multipart if the value is multipart.
In a case where the code for multiple case values is identical, it's fine to you the fallthrough property of a switch case statement.
In js (a || b) evaluates to a. In this case that means, that the switch case for the content-type never goes into
case: urlencoded || multipart
if the value ismultipart
.In a case where the code for multiple case values is identical, it's fine to you the fallthrough property of a switch case statement.