Skip to content

Bug in code #4

@matanzuckerman

Description

@matanzuckerman

@semion1956 @tomerm
in script "main.py" under the function "send_responce_to_remote_server" there are 2 issues:

  1. in line 139 the number suppose to be 200 and not 500
  2. In the same function as above you are sending the request with a socket but it should include http headers.
    for example we solved it like this:

import requests
resp = requests.post(...)

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions