Symantec Scan Engine 5.0 and later is using ICAP 201 response to
indicate that it has modified the virgin HTTP message. Squid currently
does not care.
break;
case 200:
+ case 201: // Symantec Scan Engine 5.0 and later when modifying HTTP msg
if (!validate200Ok()) {
throw TexcHere("Invalid ICAP Response");
// Non-100 status means the server needs no postPreview data from us.
if (state.writing == State::writingPaused)
stopWriting(true);
-
- // TODO: Consider applying a Squid 2.5 patch to recognize 201 responses
}
bool ICAPModXact::validate200Ok()