Chris Angelico wrote:
[...]
You're downloading via https, which has more overhead than http. There's
a certificate that needs to be checked, the content can't be cached, and
there's the cost of encryption.
Those costs don't factor in here; the content-length is what the
server announces as
Miki Tebeka wrote:
Greetings,
$ time curl -I https://pypi.python.org/pypi/
HTTP/1.1 200 OK
Date: Tue, 10 Mar 2015 10:24:30 GMT
...
Content-Length: 9870689
curl -I https://pypi.python.org/pypi/ 0.02s user 0.00s system 2% cpu
12.271 total $
Note the long
On Tue, Mar 10, 2015 at 10:55 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Miki Tebeka wrote:
Greetings,
$ time curl -I https://pypi.python.org/pypi/
HTTP/1.1 200 OK
Date: Tue, 10 Mar 2015 10:24:30 GMT
...
Content-Length: 9870689
curl -I
Greetings,
$ time curl -I https://pypi.python.org/pypi/
HTTP/1.1 200 OK
Date: Tue, 10 Mar 2015 10:24:30 GMT
...
Content-Length: 9870689
curl -I https://pypi.python.org/pypi/ 0.02s user 0.00s system 2% cpu
12.271 total
$
Note the long time (for comparison hitting
On Tue, Mar 10, 2015 at 11:24 PM, Joseph Wayodi jway...@gmail.com wrote:
Does it make sense that https://pypi.python.org/pypi and
https://pypi.python.org/pypi/ are completely different pages? The
only difference in URLs being the slash at the end.
Technically it's perfectly legal, of course,
Thanks Chris, I was hitting the wrong URL by mistake.
Didn't think an extra / will make all that difference :)
On Tuesday, March 10, 2015 at 2:12:13 PM UTC+2, Chris Angelico wrote:
On Tue, Mar 10, 2015 at 10:55 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Miki Tebeka wrote:
On Tue, Mar 10, 2015 at 11:16 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Chris Angelico wrote:
[...]
You're downloading via https, which has more overhead than http. There's
a certificate that needs to be checked, the content can't be cached, and
there's the cost of
On Tue, Mar 10, 2015 at 3:11 PM, Chris Angelico ros...@gmail.com wrote:
Oh wait. What I was remembering was https://pypi.python.org/ without
the extra pathing on it. And yes, that page _is_ short and fast. So
that's an appropriate landing page.
To the OP: You're downloading the entire list
On Wed, Mar 11, 2015 at 12:42 PM, Cameron Simpson c...@zip.com.au wrote:
On 10Mar2015 23:27, Chris Angelico ros...@gmail.com wrote:
Ah, sure. Especially the bit about the cache :) Though I usually find
that download times on https vs http aren't all that different; it
takes a little bit
On 11Mar2015 06:50, Ben Finney ben+pyt...@benfinney.id.au wrote:
Miki Tebeka miki.teb...@gmail.com writes:
Thanks Chris, I was hitting the wrong URL by mistake.
Didn't think an extra / will make all that difference :)
It is quite astonishing, I agree. I'd even call it a bug worth
reporting;
On 10Mar2015 23:27, Chris Angelico ros...@gmail.com wrote:
Ah, sure. Especially the bit about the cache :) Though I usually find
that download times on https vs http aren't all that different; it
takes a little bit longer to establish the connection, but less than
the variation in DNS timing.
Miki Tebeka miki.teb...@gmail.com writes:
Thanks Chris, I was hitting the wrong URL by mistake.
Didn't think an extra / will make all that difference :)
It is quite astonishing, I agree. I'd even call it a bug worth
reporting; those two should be the same otherwise people are going to
get
12 matches
Mail list logo