These are chat archives for IndySockets/Indy

27th
Feb 2017
mezen
@mezen
Feb 27 2017 07:04
In HTTP the error code range 5xx is for server errors, as a HTTP client you cant do anything about most time :-\
Kudzu
@czhower
Feb 27 2017 13:43
actually all 3 letter codes are server responses.... 2xx status, 3xx temp errors, 4xx perm errors, 5xx internal errors
Ludwig Behm
@lbehm
Feb 27 2017 13:49
@czhower of course all http response codes are responses from the server. But 4xx for example are specific for problems with the client request.
Kudzu
@czhower
Feb 27 2017 13:51
No, 3xx are temporary errors that can be remedied by respodnign to teh 3xx by the client. Check the RFC :)
Either htye have reworded or wikipedia has it wrong
originally it was 1xx info, 2xx status, 3xx temp error, 4xx perm error, 5xx software bugs / unknown
mezen
@mezen
Feb 27 2017 13:54

You mean RFC2616? https://tools.ietf.org/html/rfc2616#section-6

3xx: Redirection - Further action must be taken in order to complete the request

Ludwig Behm
@lbehm
Feb 27 2017 14:07
@czhower I mean it should be obvious that 301 Moved Permanently can't be a temporary error.
@mezen better ref which is kinda current internet standard: https://tools.ietf.org/html/rfc7231#section-6.4
Kudzu
@czhower
Feb 27 2017 14:18
Its a "temporary" error in the fact that the client can fix it by following instructions - which cant happen with 4 or 5.
Ludwig Behm
@lbehm
Feb 27 2017 14:20
@czhower I think you are looking for something like "remediable error"
if not: rfc or didn't happen!? ^_^
Kudzu
@czhower
Feb 27 2017 15:08
I think I'm thinking of anotehr doc that outlines how tcp text servers in tgeneral are supposed to follow and HTTP does follow it. I can't find it now, but I've bene working wtih the RFCs since the early 90s (and then many of the current ones were from the 70s/80s) and I'm sure one of the early ones put it forth this way, and most like NNTP etc follow or get it close (SMTP) etc
Kudzu
@czhower
Feb 27 2017 15:36
and then there is the horrible aberation - pop3
Remy Lebeau
@rlebeau
Feb 27 2017 17:39
Not all 3xx responses are redirects. 304 in particular is a response to a conditional GET to indicate the requested resource has not changed since the last time it was requested so the client can keep using its previously cached copy.
Kudzu
@czhower
Feb 27 2017 17:42
exactly - a "fixable" condition.
although some might say that is a redirect too, to a cached copy