summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authoruser <nobody>2015-09-21 19:11:25 +0000
committerSmallJoker <mk939@ymail.com>2015-09-25 22:43:54 +0200
commitf389e6bd13a85927607bfbb9b871f2d0a512d844 (patch)
treefec8709c5e8170462d76d029f06cdf3fe6541ac8 /.gitignore
parente762283decb7c7b2bb07fe60816707b9f55807b5 (diff)
More efficient python script
- Fixed pipelining - Cleaning everything up - Don't re-download saved characters - Add the media to .gitignore About pipelining: According to python: 1) you send a request 2) you MUST get response headers for (1) (THIS IS MANDATORY) 3) you send another request 4) you get response body for (2) 5) response headers for (3) 6) response body for (5) Only two requests can be pipelined. Surely this is an unavoidable, wait no it's just written into the code to error out if you don't do it that way. according to reality: 1) you send a request 2) you do not get response headers for (1) 3) you repeat steps 1-2 until enough responses are queued 4) you receive those responses as header,body,header,body... they even name it with a __ so to make it hard to override, but the state can safely go to Idle after a request has sent, whether or not response headers have come in. Sure the connection might close, but then you adjust to not pipeline, and re-send the rest of your requests over a new connection.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9e7edcd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+character_*.png
+character_*.txt