Top "Http-status-codes" questions

HTTP status codes are a set of standardized codes returned in an HTTP web response.

How to use HTTP status code symbols in RSpec?

I use HTTP status code symbols in code in a controller such as: render json: { auth_token: user.authentication_token, …

ruby-on-rails rspec http-status-codes human-readable
Are the HTTP status codes defined anywhere in the iOS SDK?

Does anyone know if/where the HTTP status codes, as specified here, are defined in the iOS SDK? Or should …

ios objective-c http-status-codes
Proper status codes for JSON responses to Ajax calls?

My project is returning JSON to Ajax calls from the browser. I'm wondering what the proper status code is for …

javascript ajax json http http-status-codes
Avoiding 304 (not modified) responses

Is it an ExpiresDefault Apache directive enough to avoid HTTP Status 304 responses from the server? I have set ExpiresDefault "access …

apache http http-status-codes http-status-code-304
HTTP Status 202 - how to provide information about async request completion?

What is the appropriate way of giving an estimate for request completion when the server returns a 202 - Accepted status …

rest http-headers http-status-codes
REST HTTP status code if DELETE impossible

My question is quite a generic one about HTTP status code when a DELETE is impossible on the resource (but …

rest http-status-codes
What is the correct behavior expected of an HTTP POST => 302 redirect to GET?

What is the correct behavior expected of a POST => 302 redirect to GET? In chrome (and likely most every browser), …

http redirect http-status-codes
Which HTTP status code to say username or password were incorrect?

I am implementing a simple registation/login module. While testing user credentials, I start thinking which HTTP status code will …

http authorization http-status-codes
Return Mvc.JsonResult plus set Response.StatusCode

Project: ASP MVC 4 running under .net 4.0 framework: When running an application under VS 2010 express (or deployed and running under IIS 7.5 …

json asp.net-mvc-4 http-status-codes
After a POST, should I do a 302 or a 303 redirect?

A common scenario for a web app is to redirect after a POST that modifies the database. Like redirecting to …

http-status-codes http-status-code-302