last day (16 days later) » 

10:19 PM
0
A: Keeping website open with Python Requests?

FrancescoSo this is in general what happens when you send a HTTP request, you create a socket that is connected to the server's one and you send a request and that's all (ok, in reality no but you get it) :). Then server will reply to you whit a status code (https://en.wikipedia.org/wiki/List_of_HTTP_stat...

 
How would I set my headers with the way you are doing it?
 
@antfuentes87 do you need them?
@antfuentes87 look at the edit
 
Yeah I tried it that way you now have in your example, but still does not work :( I don't think the website is actually staying open.
 
Wait! You are doing a HTTP request, that means: you are sending something and the server will answer. Now the server can go off-line even if there are some requests that are not answered. Basically is like if you call me on my phone, it can be off, i can be in the shower ...
 
Yeah that is what I am gathering from this... hmm guess have to figure out another way. If you have Skype add me antfuentes87 and I can explain the whole scenario. Thanks!
 
10:19 PM
Maybe tomorrow :) I'm a little bit sick now
 
All good, thanks for all your help! Guess time to go back to square one lol
Hmm cool, guess you can move comments to a chat... maybe we can talk in here when you are feeling better :)
 

  last day (16 days later) »