Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • M metaolm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • 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
  • Archive
  • metaolm
  • Issues
  • #8
Closed
Open
Issue created Sep 10, 2018 by Johannes Hayeß@jhaye🖤Maintainer2 of 2 checklist items completed2/2 checklist items

Rework HTTPPost into HTTPReq

With the current approach support for HTTP PUT, GET, etc. would all need another packet type in order to be supported. The module will at least require additional support for PUT for sending new device announcements.

I think it would be best to merge all of the potential packet types into one, where the rest of the information is left in the details field. For example the details field for a HTTPReq packet for uploading device keys would look like this: POST /_matrix/client/unstable/keys/upload.

Essentially the details field would be formatted exactly like in the Matrix documentation, which is a good in itself already.

Apply in:

  • Documentation (will be part of !2 (merged))
  • Code
Edited Sep 11, 2018 by Johannes Hayeß
Assignee
Assign to
Time tracking