[ https://issues.apache.org/jira/browse/SCB-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liubao closed SCB-709. ---------------------- Resolution: Won't Fix As per RFC 2616 Section 9.4 states a PUT method with no body do violates HTTP spec, and JAX-RS don't have an annotation to indicate if body is required. We close this issue. > Implement JAX-RS body parameter required feature > ------------------------------------------------ > > Key: SCB-709 > URL: https://issues.apache.org/jira/browse/SCB-709 > Project: Apache ServiceComb > Issue Type: New Feature > Reporter: liubao > Assignee: Mahesh Raju Somalaraju > Priority: Major > > SCB-701 remaining problems: > 1. Implement JAX-RS body parameter required feature > 2. SCB-701 has changes, consumer code can send null or an object to provider, > null encode as empty body I think is better. And for provider, is required = > true, either null or emty body will throw exception is better, but now from > consumer code, we can not send null. and with postman, send null will not > throw exception when required = true > 3. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)