Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in code #4

Open
matanzuckerman opened this issue Jun 20, 2019 · 3 comments
Open

Bug in code #4

matanzuckerman opened this issue Jun 20, 2019 · 3 comments

Comments

@matanzuckerman
Copy link

matanzuckerman commented Jun 20, 2019

@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.

@semion1956
Copy link
Collaborator

@ashensis
Could you take a look?

Repository owner deleted a comment from ashensis Jun 23, 2019
@tomerm
Copy link
Owner

tomerm commented Jun 23, 2019

@matanzuckerman can you please share the code for point number 2 above ? It is hard to understand what do you mean based on pseudo code. Many thanks in advance.

@tomerm
Copy link
Owner

tomerm commented Jun 24, 2019

@matanzuckerman please observe that we don't have access to any customer system on the other end and thus code under send_responce_to_remote_server should be considered as a placeholder. Using this opportunity I would like to attract your attention to the fact that so far no specification (with low level details) of this part of API / call was provided by customer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants