The Un-Official Proxomitron Forum
[Req] Filter to allow resuming for IE - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: [Req] Filter to allow resuming for IE (/showthread.php?tid=2025)



[Req] Filter to allow resuming for IE - joey_sw - Jun. 15, 2012 03:16 AM

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.