Top "Http-response-codes" questions

HTTP Response Codes indicate whether a specific HTTP requests has been successfully completed.

Requests — how to tell if you're getting a success message?

My question is closely related to this one. I'm using the Requests library to hit an HTTP endpoint. I want …

python http python-requests httprequest http-response-codes
Setting Response.Status Generates "HTTP Status String is Not Valid" Exception

I'm writing an HTTP handler in ASP.NET 4.0 and IIS7 and I need to generate a file-not-found condition. I copied …

asp.net http-response-codes
How to test render status: 404 with Rails4 and RSpec when using rescue_from

I have a Rails4 application with a 'PagesController'. The show-method throws a customized Exception 'PageNotFoundError' when a Page is not …

ruby-on-rails rspec http-response-codes
How to check HTTP response code in zabbix?

I have a Zabbix server 2.2 and a few linux hosts with websites. How can I get a notification from Zabbix, …

triggers zabbix http-response-codes
Returning http status codes with a rest api

I am building my own rest api in php for practice. I can evaluate the http code sent to my …

php api rest http-headers http-response-codes
Making Struts send 500 Internal Server Error when exceptions get thrown

I'm working on an AJAX-enabled JavaScript frontend that makes calls to a Java backend written with Struts. My problem is …

struts http-response-codes
Is there a content Header Type for adding HttpResponseHeader?

The only method I see in HttpResponseHeaders is Add which takes string type for header type. I just wonder did .…

c# .net http-response-codes
REST API response in partial success

I have an API which does some bulk processing task. Let's say it does naming of some resource. I passed 7 …

rest http-response-codes
Return HTTP error from RESTeasy interface

Is it possible to return a HTTP error from a RESTeasy interface? I am currently using chained web-filters for this …

java http httpresponse resteasy http-response-codes
Why does HttpURLConnection.getResponseCode() throws IOException?

I can see that getResponseCode() method is just a getter Method that returns the statusCode already set by the a …

java httpresponse httpurlconnection urlconnection http-response-codes