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
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1248

recipe/simplehttpserver: fix application/x-www-form-urlencoded POST on py3

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge fix/simplehttpserver-urlencoded-post into master Sep 09, 2022
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 2

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/simplehttpserver-urlencoded-post
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7