title: RequestHeader doesn’t contain the request body at Play Framework 2.0 till now
body: <p>I wonder, how to get a body from the request if in the <a href="https://www.playframework.com/documentation/2.5.x/api/scala/index.html#play.api.mvc.RequestHeader" rel="nofollow noreferrer">doc</a>:</p>
  
  <pre><code>trait RequestHeader extends AnyRef
  The HTTP request header. Note that it doesn’t contain the request body yet.
  </code></pre>
  
  <p>That seems from very 2.0 version ..</p>
  
  <p>Trying to get example of async handing the request's body. In order to log it to file.</p>
  
  <pre><code>object AccessLoggingFilter extends EssentialFilter {
  
        def apply(inputAction: EssentialAction) = new EssentialAction { request =&gt;
  
      val accessLogger = Logger("access")
  
      def apply(requestHeader: RequestHeader): Iteratee[Array[Byte], Result] = { ...
  
    Logger.info(s"""Request:
              Body             = ${requestHeader.???} """)
  </code></pre>
  
  <p>There are some philosophical answers on SO, <a href="https://stackoverflow.com/questions/29047510/access-request-body-in-essential-filter-play-framework-2">here</a> for example. But I would not call it answer..</p>