title: Google App Engine json post request body
body: <p>I can't read body from POST request on Google app engine application whenever I send string which contains colon ":"</p>
  
  <p>This is my request handler class:</p>
  
  <pre><code>class MessageSync(webapp.RequestHandler):
  def post(self):
      print self.request.body
  </code></pre>
  
  <p>Ad this is my testing script:</p>
  
  <pre><code>import httplib2
  
  json_works = '{"works"}'
  json_doesnt_work = '{"sux": "test"}'
  h = httplib2.Http()
  
  resp, content = h.request('http://localhost:8080/msg', 
          'POST', 
          json_works ,
          headers={'Content-Type': 'application/json'})
  
  print content
  </code></pre>
  
  <p>If I use variable json_works request body gets printed, but if I use json_doest_work I won't get any response to console. Except if I print whole request object I get this:</p>
  
  <pre><code>POST /msg
  Content-Length: 134
  Content-Type: application/json
  Host: localhost:8080
  User-Agent: Python-httplib2/$Rev$
  
  {"sux": "test"}
  </code></pre>
  
  <p>Why the hack I can't get just body?
  Thanks!</p>