The Un-Official Proxomitron Forum

Full Version: [Req] Filter to allow resuming for IE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, this is my first post.
I've been using proxomitron for almost 2 years, and i love this program, theres many i could learn from it.

I'm a IE user, recently i notice many websites omitting the "ETag:" from incoming http headers,
this makes IE wont send "Range:" messages header to resume interrupted transfer.
IE-8 (and earlier versions) will re-download the file from very begining instead.

In area with lousy internet conncections, this can be very frustating.

Therefore i made following simple filters:
Code:
[HTTP headers]

In = TRUE
Out = FALSE
Key = "ETag: IE-Resume fix (in)"
URL = "$LST(IE-Resume-fix)"
Match = "^?"
Replace = ""IE-resume-fix""

In = FALSE
Out = TRUE
Key = "If-None-Match: IE-Resume fix (out)"
URL = "$LST(IE-Resume-fix)"
Match = ""IE-resume-fix""

In = FALSE
Out = TRUE
Key = "If-Range: IE-Resume fix (out)"
URL = "$LST(IE-Resume-fix)"
Match = "$OHDR(Unless-Modified-Since:\0)"
Replace = "\0"

In = FALSE
Out = TRUE
Key = "Unless-Modified-Since: IE-Resume fix (out)"
URL = "$LST(IE-Resume-fix)"
Match = "*"
The idea is to mimic the behaviour of other browser that able to resume interrupted transfer without ETag message.

Its works so far, however i feel the filters above were not-optimized and not-foolproof.
For example if sites on the list were using ETag method again, those filter might have undisired effect instead.

Please help me perfecting the filters.
Reference URL's