commit 7bccb00d0fdd23f8b487b3ef8228cdc1463d7493
parent c1639bff071db7215085ab2bb050b5675f0641cb
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sat, 19 Dec 2015 00:17:36 +0100
Re-ordering protocols as HTTP/1.1 is much more common, allowing to break earlier when iterating through the array
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/definitions.c b/src/definitions.c
@@ -42,6 +42,6 @@ char *methods[] = {
};
char *protocols[] = {
- "HTTP/1.0",
- "HTTP/1.1"
+ "HTTP/1.1",
+ "HTTP/1.0"
};