title: How do I parse parameters submitted by a form in Nickel.rs?
body: <p>I'm building a web application with Rust and Nickel.rs.  I have a route which submits a form with a POST request.  </p>
  
  <p>I would like to be able to use the request data (the data returned from the form), but I'm not sure how to go about it.</p>
  
  <pre><code>// This works and prints 'email=bar&amp;password=foo'
  // but how do I get the values separately?
  router.post("/login", middleware! { |request, response|
      let mut body = String::new();
      request.origin.read_to_string(&amp;mut body).unwrap();
      format!("{}", body)
  });
  </code></pre>