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

 
 

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

Submitted by:  Коренберг Марк <socketpair>
Submitted on:  Mon 30 Nov 2009 11:08:31 PM UTC  
 
Category: Protocol IssueSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Giuseppe Scrivano <gscrivano>
Originator Name: Open/Closed: Closed
Release: NoneOperating System: None
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Aug 2011 08:58:19 AM UTCgscrivanoStatusNeeds Investigation=>Fixed
      Open/ClosedOpen=>Closed
    Thu 27 May 2010 03:51:09 PM UTCgscrivanoStatusNone=>Needs Investigation
      Assigned toNone=>gscrivano

    Back to the top


    Powered by Savane 3.1-cleanup1