bugGNU Wget - Bugs: bug #28137, --no-cache does not help. Solution...

 
 

bug #28137: --no-cache does not help. Solution available.

Submitter:  Коренберг Марк <socketpair>
Submitted:  Mon 30 Nov 2009 11:08:31 PM UTC
   
 
Category:  Protocol Issue Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  gscrivano
Originator Name:  Open/Closed:  Closed
Release:  None Operating System:  None
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Aug 2011 08:58:19 AM UTC, comment #3: 

I have added the Cache-Control HTTP header when --no-cache is specified.

Now Cache-Control and Pragma: no-cache are used together.

Giuseppe Scrivano <gscrivano>
Group administrator
Thu 27 May 2010 06:34:03 PM UTC, comment #2: 

========================================
generic request:
GET / HTTP/1.0
User-Agent: Wget/1.10.2
Accept: /
Host: ya.ru
Connection: Keep-Alive
=================================================
--no-cache request:
GET / HTTP/1.0
Pragma: no-cache
User-Agent: Wget/1.10.2
Accept: /
Host: ya.ru
Connection: Keep-Alive
================================================
I want to say:
When user specify --no-cache option to wget,at least 4 specified headers should be sent, not only 'Pragma: no-cache'


Коренберг Марк <socketpair>
Thu 27 May 2010 03:51:09 PM UTC, comment #1: 

I fail to see the point, can you please provide more information?

Giuseppe Scrivano <gscrivano>
Group administrator
Mon 30 Nov 2009 11:08:31 PM UTC, original submission:  

Downloading via wget --no-cache does not fool some stupid proxies. But using more complicated implementation will give great result. Example on PHP:

header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified
header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0


Коренберг Марк <socketpair>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by socketpair (Submitted the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-06 gscrivano StatusNeeds Investigation Fixed
        Open/ClosedOpen Closed
    2010-05-27 gscrivano StatusNone Needs Investigation
        Assigned toNone gscrivano

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code