Re: [Web-SIG] Use 200 or 400 Status Code When...

2009-04-27 Thread Randy Syring
Thomas, Unfortunately, it wasn't obvious to me that a 404 was appropriate in this situation. But, now that you mention it, I think you are right. Thank you for your input. -- Randy Syring RCS Computers & Web Solutions 502-644-4776 http://www.rcs-comp.com

Re: [Web-SIG] Use 200 or 400 Status Code When...

2009-04-27 Thread Thomas Broyer
On Mon, Apr 27, 2009 at 4:32 AM, Randy Syring wrote: > I have a page that accepts URL arguments like: > > /student/ > > The id must be an integer or the URL doesn't match and the user is given a > 404.  But what should I do if the id is given, is an integer, but a student > with that id does not e

[Web-SIG] Use 200 or 400 Status Code When...

2009-04-26 Thread Randy Syring
I have a page that accepts URL arguments like: /student/ The id must be an integer or the URL doesn't match and the user is given a 404. But what should I do if the id is given, is an integer, but a student with that id does not exist? I already output a message telling the user that they r