anchor.diff: -= Request Content Limit Policy
  += Request content limit policy
   
   ifdef::env-github[]
   image:https://ci.gravitee.io/buildStatus/icon?job=gravitee-io/gravitee-policy-request-content-limit/master["Build status", link="https://ci.gravitee.io/job/gravitee-io/job/gravitee-policy-request-content-limit/"]
   image:https://badges.gitter.im/Join Chat.svg["Gitter", link="https://gitter.im/gravitee-io/gravitee-io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
   endif::[]
   
  -== Scope
  +== Phase
   
   |===
   |onRequest |onResponse
  
positive.code: 
  == Description
  
  This policy allows to specify a max limit request content lenght allowed on a request.
  This limit is compared to the content length header of the request.
  
  == Possible response
  
  |===
  |Error |description
  |400|Content-length is not a valid integer !
  |411|The request did not specify the length of its content, which is required by the requested resource.
  |413|The request is larger than the server is willing or able to process.
  |===
  
  == Configuration
  
  You can configure the policy with the following options :
  
  |===
  |Property |Required |Description |Type
  
  |limit
  |true
  |The limit of the request content length allowed
  |int
  
  |===
  
negative.code: 
  == Errors
  
  === Default errors
  |===
  |Code |Message
  
  