[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r19043 - trunk/subversion/libsvn_ra_serf

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-03-27 20:15:46 CEST

On 3/27/06, Branko ibej <brane@xbc.nu> wrote:
> Sorry if this is a newbie question, but why are you using magic numbers
> instead of defined constants for the error codes?

These numbers can't change without violating the spec. Plus, unlike
httpd, neither neon or serf have constants for the HTTP status codes.
(Look at all of the 201 and 204s in ra_dav too.)

*shrug* -- justin
Received on Mon Mar 27 20:16:06 2006

This is an archived mail posted to the Subversion Dev mailing list.