title: Alamofire POST request with progress
body: <p>I'm using Alamofire to do a POST request.
  As this POST request can take a while and I want to keep track of the progress and display it as a ProgressView.</p>
  
  <pre><code>Alamofire.request(.POST, ApiLink.create_post, parameters: parameters, encoding: .JSON)
          .progress { (bytesRead, totalBytesRead, totalBytesExpectedToRead) -&gt; Void in
              println("ENTER .PROGRESSS")
              println("\(totalBytesRead) of \(totalBytesExpectedToRead)")                
              self.progressView.setProgress(Float(totalBytesRead) / Float(totalBytesExpectedToRead), animated: true)
          }
          .responseJSON { (_, _, mydata, _) in 
              println(mydata)
          }
  </code></pre>
  
  <p>However, I've noticed that the <strong>.progress block</strong> only get called after the post request has ended instead of getting called multiple times to actually keep track of the progress.
                  <em>println("ENTER .PROGRESSS")</em> gets called only once (at the end)</p>
  
  <p>How can I make .progress works with Alamofire.request POST ?</p>
  
  <p>Also : My parameters include a base64 encoded image string. I'm using a back-end Ruby on Rails to process the image. It's that process that is taking quite some time.</p>