|
| 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | +<HTML> |
| 3 | + <HEAD> |
| 4 | + <TITLE> [squid-dev] NO_SPECIAL_HANDLING define for HTTP methods |
| 5 | + </TITLE> |
| 6 | + <LINK REL="Index" HREF="index.html" > |
| 7 | + <LINK REL="made" HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20NO_SPECIAL_HANDLING%20define%20for%20HTTP%20methods&In-Reply-To=%3C3ff04d51-3318-4b95-ba0c-75f06032af50%40treenet.co.nz%3E"> |
| 8 | + <META NAME="robots" CONTENT="index,nofollow"> |
| 9 | + <style type="text/css"> |
| 10 | + pre { |
| 11 | + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ |
| 12 | + } |
| 13 | + </style> |
| 14 | + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
| 15 | + <LINK REL="Previous" HREF="010020.html"> |
| 16 | + |
| 17 | + </HEAD> |
| 18 | + <BODY BGCOLOR="#ffffff"> |
| 19 | + <H1>[squid-dev] NO_SPECIAL_HANDLING define for HTTP methods</H1> |
| 20 | + <B>Amos Jeffries</B> |
| 21 | + <A HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20NO_SPECIAL_HANDLING%20define%20for%20HTTP%20methods&In-Reply-To=%3C3ff04d51-3318-4b95-ba0c-75f06032af50%40treenet.co.nz%3E" |
| 22 | + TITLE="[squid-dev] NO_SPECIAL_HANDLING define for HTTP methods">squid3 at treenet.co.nz |
| 23 | + </A><BR> |
| 24 | + <I>Tue Apr 21 01:56:22 UTC 2026</I> |
| 25 | + <P><UL> |
| 26 | + <LI>Previous message (by thread): <A HREF="010020.html">[squid-dev] NO_SPECIAL_HANDLING define for HTTP methods |
| 27 | +</A></li> |
| 28 | + |
| 29 | + <LI> <B>Messages sorted by:</B> |
| 30 | + <a href="date.html#10023">[ date ]</a> |
| 31 | + <a href="thread.html#10023">[ thread ]</a> |
| 32 | + <a href="subject.html#10023">[ subject ]</a> |
| 33 | + <a href="author.html#10023">[ author ]</a> |
| 34 | + </LI> |
| 35 | + </UL> |
| 36 | + <HR> |
| 37 | +<!--beginarticle--> |
| 38 | +<PRE>On 20/04/2026 09:35, Francesco Chemolli wrote: |
| 39 | +><i> Hi, |
| 40 | +</I>><i> I stumbled upon src/http/MethodType.h and the fact that a lot of |
| 41 | +</I>><i> methods are hidden behind a NO_SPECIAL_HANDLING preprocessor macro. |
| 42 | +</I>><i> Does anyone have any memory about what the purpose of that exclusion? |
| 43 | +</I>><i> |
| 44 | +</I>><i> Thanks! |
| 45 | +</I> |
| 46 | + |
| 47 | +The list documents the full list of methods which Squid is known to |
| 48 | +support (sans bugs). |
| 49 | + |
| 50 | +That #if macro is to document that those methods have already been |
| 51 | +analyzed (per the referenced RFC at least) and determined that Squid |
| 52 | +should do the HTTP default actions for any valid-but-unknown methods. So |
| 53 | +we do not waste time re-checking them for support later. |
| 54 | + |
| 55 | + |
| 56 | +When it is defined cache manager is capable of showing statistics for |
| 57 | +those methods (eg. in WebDAV services) separately from "OTHER". But |
| 58 | +there is not much need for that typically. |
| 59 | + |
| 60 | + |
| 61 | +HTH |
| 62 | +Amos |
| 63 | + |
| 64 | +</PRE> |
| 65 | + |
| 66 | +<!--endarticle--> |
| 67 | + <HR> |
| 68 | + <P><UL> |
| 69 | + <!--threads--> |
| 70 | + <LI>Previous message (by thread): <A HREF="010020.html">[squid-dev] NO_SPECIAL_HANDLING define for HTTP methods |
| 71 | +</A></li> |
| 72 | + |
| 73 | + <LI> <B>Messages sorted by:</B> |
| 74 | + <a href="date.html#10023">[ date ]</a> |
| 75 | + <a href="thread.html#10023">[ thread ]</a> |
| 76 | + <a href="subject.html#10023">[ subject ]</a> |
| 77 | + <a href="author.html#10023">[ author ]</a> |
| 78 | + </LI> |
| 79 | + </UL> |
| 80 | + |
| 81 | +<hr> |
| 82 | +<a href="https://lists.squid-cache.org/listinfo/squid-dev">More information about the squid-dev |
| 83 | +mailing list</a><br> |
| 84 | +</body></html> |
0 commit comments