Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Carlos Ramos Carreño
  • slaposslapos
  • Repository
  • slapos
  • slapos
  • recipe
  • simplehttpserver
  • simplehttpserver.py
Find file BlameHistoryPermalink
  • Jérome Perrin's avatar
    recipe/simplehttpserver: fix application/x-www-form-urlencoded POST on py3 · 0f1d8afe
    Jérome Perrin authored Sep 09, 2022
    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
    0f1d8afe
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7