1. Ian Bicking
  2. WebTest
  3. Issues
Issue #25 resolved

params dictionary of webtest.AppTest.post() does not support unicode values

Anonymous created an issue

params dictionary of webtest.AppTest.post() does not support unicode values, nor does it raise encoding error. Instead, non-ascii characters are posted as ????.

Temporary solution: All values have to be manually encoded via .encode("UTF-8") and content_type set to "application/x-www-form-urlencoded; charset=UTF-8".

Comments (1)

  1. Log in to comment