edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@edbrowse.org
Subject: [edbrowse-dev] Another curl question
Date: Tue, 03 Sep 2019 16:10:36 -0400	[thread overview]
Message-ID: <20190803161036.eklhad@comcast.net> (raw)

This happens on my relatively old machine and on a newer machine.

In edbrowse and with db4

e http://iyfsearch.com/px.js?ch=2

It asks if you want to download, just hit space to pull it into memory.
It is a regular fetch and it goes into cache. No problem.

Quit edbrowse and bring it up again. db4 and do the same thing.

e http://iyfsearch.com/px.js?ch=2

It sees it in cache and just does a head request.
The server should give you the same etag and you pull it out of cache, but,
curl says "could not read the data from the server"
Thus the file is not fetched at all
It looks like we get all the right stuff from the server.

What gives?
What happens when other browsers issue head requests?

Karl Dahlke

             reply	other threads:[~2019-09-03 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-03 20:10 Karl Dahlke [this message]
2019-09-04 14:08 ` Adam Thompson
2019-09-04 15:03   ` Karl Dahlke
2019-09-04 15:08     ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190803161036.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=edbrowse-dev@edbrowse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).