Skip to content

always get bad request response before any code in def root() runs #40

Open
@christopherreay

Description

@christopherreay

I tried adding a print as the first line of def root():

so im running from docker
Ive connected into the running docker container
if I run wget --post-data="some=data" localhost:5000
I get this error:

bash-4.3# wget --post-data="asd=sd" localhost:5000
Connecting to localhost:5000 (127.0.0.1:5000)
wget: server returned error: HTTP/1.0 400 BAD REQUEST

where the first line of def root(): never runs. Any ideas?

(github webhook is set to application/json and also returns that the server says bad request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions