Skip to content

Webserver Example not working #17

@joraco-dev

Description

@joraco-dev

Hi,

https://github.com/aruba/central-examples-only/blob/bb25f7a6b85765078335b1fa2c977573fe7d552f/webhooks/python-webclient/central_webhook_client.py

Is not working properly, as the webserver is not returning control to the requestor.

You must change
71 body = self.rfile.read()
to
71 body = self.rfile.read(int(self.headers['Content-Length']))

then works properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions