🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50096

AJAX: uzywac 500 Internal Server Error?

#50096
From: Ghost
Date: Fri, 04 Jun 2010 13:58
10 lines
1201 bytes
Witam,

    W jaki sposob powinno sie komunikowac blad do aplikacji w przypadku np.
nie przejscia jakiejs walidacji danych ale juz na po stronie servera - czy
wyrzucanie po prosti 500 jest wskazane? Czy raczej nie?

TIA

Pozdrawiam,
Ghost
Technical Details
Message-ID: <hub0tu$o6b$2@mx1.internetia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
From: "Ghost" <ghost@everywhere.pl>
Newsgroups: pl.comp.lang.javascript
Subject: AJAX: uzywac 500 Internal Server Error?
Date: Fri, 4 Jun 2010 15:58:18 +0200
Organization: Netia S.A.
Lines: 11
Message-ID: <hub0tu$o6b$2@mx1.internetia.pl>
NNTP-Posting-Host: 77-253-224-59.ip.netia.com.pl
Mime-Version: 1.0
X-Trace: mx1.internetia.pl 1275660030 24779 77.253.224.59 (4 Jun 2010 14:00:30 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Fri, 4 Jun 2010 14:00:30 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
X-Tech-Contact: usenet@internetia.pl
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-Priority: 3
X-Server-Info: http://www.internetia.pl/news/
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit