Congratulations on a finely-crafted all-in-one software solution! Kudos!
OK, works now, sort of.
Have to FIRST change a line in def main(argv) to fix a simple typo ('b' should be 'a'):
opts, args = getopt.getopt(argv, "hb:p:") --> opts, args = getopt.getopt(argv, "ha:p:")
It transfers .imp ebooks OK from the "online bookshelf", but the "local content" traffic seems slower than Linreb + privoxy (especially for MIME image types for .gif/.jpg/.png files).
I initially thought, "Maybe my network is congested
?". But after further testing using Linreb instead, I would have to say "No, it seems that impserve is very much slower (guessing about 1/2 to 1/3 the transfer speed of Linreb + privoxy)". It seems to have lost it's "snap"!
Would the python libraries be at fault here? I used my content/index.html from the Linreb package as a test and surfed to the Mobileread Wiki pages.
Can you try a comparison at your end?