Re: [PATCH v3] gitweb: standarize HTTP status codes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Thursday, June 19, 2008 - 3:37 pm

Lea Wiemann <lewiemann@gmail.com> writes:


This address both of my concerns: first, that for someone examining
Mechanize-based gitweb test number like 403, or 500 would be magical
number without explanation (reason phrase) other than 'Error'.

Second, that for casual / accidental gitweb developer who has to add
or modify a bit of code with die_error(...) wouldn't know which of
"magic number" to use, if the case didn't fail into described
situation.  Now it is enough to example die_error(...) in addition to
similar code...
 

I can agree with that.


Well, this was what I though was patch revies... :-/


FWIW:

Acked-by: Jakub Narebski <jnareb@gmail.com>

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Sun Jun 15, 2:15 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Sun Jun 15, 3:48 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Mon Jun 16, 8:57 am)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Mon Jun 16, 9:43 am)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Mon Jun 16, 2:49 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Mon Jun 16, 3:34 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Junio C Hamano, (Mon Jun 16, 3:38 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Mon Jun 16, 4:37 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Tue Jun 17, 6:53 am)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Tue Jun 17, 7:04 am)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Tue Jun 17, 7:33 am)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Tue Jun 17, 3:28 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Tue Jun 17, 3:54 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Tue Jun 17, 4:47 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Tue Jun 17, 5:12 pm)
[PATCH] gitweb: standarize HTTP status codes, Lea Wiemann, (Tue Jun 17, 5:15 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Lea Wiemann, (Tue Jun 17, 6:25 pm)
Re: [PATCH] gitweb: return correct HTTP status codes, Jakub Narebski, (Wed Jun 18, 12:35 am)
Re: [PATCH v2] gitweb: standarize HTTP status codes, Jakub Narebski, (Wed Jun 18, 5:51 pm)
Re: [PATCH v2] gitweb: standarize HTTP status codes, Lea Wiemann, (Thu Jun 19, 12:08 pm)
[PATCH v3] gitweb: standarize HTTP status codes, Lea Wiemann, (Thu Jun 19, 1:03 pm)
[PATCH v3] gitweb: standarize HTTP status codes, Lea Wiemann, (Thu Jun 19, 1:25 pm)
Re: [PATCH v2] gitweb: standarize HTTP status codes, Jakub Narebski, (Thu Jun 19, 3:22 pm)
Re: [PATCH v3] gitweb: standarize HTTP status codes, Jakub Narebski, (Thu Jun 19, 3:37 pm)
Re: [PATCH v3] gitweb: standarize HTTP status codes, Junio C Hamano, (Thu Jun 19, 5:48 pm)