linkedin / rest.li

Rest.li is a REST+JSON framework for building robust, scalable service architectures using dynamic discovery and simple asynchronous APIs.
rest.li
Other
2.51k stars 546 forks source link

HEAD requests content-length is not based on the body as per the http… #896

Open nizarm opened 1 year ago

nizarm commented 1 year ago

HEAD requests content-length is not based on the body as per the http spec. Fixing it to not override the content-length if the request is HEADER type