recipe/simplehttpserver: fix application/x-www-form-urlencoded POST on py3
In deploy test, this recipe is used with url encoded POST [1], but the test only tested multipart encoded POSTs. In python 3, they are different, with multipart POSTs, FieldStorage values are bytes, but with url encoded POSTs, the values are string. This small server from the recipe only supported multipart POSTs, this change add support for url encoded POSTs. [1]: https://lab.nexedi.com/nexedi/slapos/blob/dd7038feab70866e54028de89d0e0e1017fc276c/software/erp5testnode/testsuite/deploy-test/deploy-script-controller#L86
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
running |
#519057
external
|
Cloudooo.UnitTest-Master |
19331:50:27 |
||||||
passed |
#519046
external
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:11:47
|
||||||
passed |
#519049
external
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:15:59
|
||||||
running |
#519083
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
19331:49:38 |
||||||
running |
#519058
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
19331:50:22 |
||||||
running |
#519061
external
|
SlapOS.KVM.ResilienceTest-Master |
19331:50:21 |
||||||
running |
#519079
external
|
SlapOS.SlapRunner.ResilienceTest-Master |
19331:49:48 |
||||||
running |
#519050
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
19331:50:56 |
||||||