Top "Httpresponse" questions

An HTTP response is a network message which is made of a body and metadata in the form of headers, according to HTTP specification.

How to resolve JSF1095 Flash Warning "Response already committed" in f:selectItems component?

I meet a strange behavior with JSF 2.4 on Mojarra. I'm using flash parameters to pass from a page to another. …

httpresponse jsf-2.2 postconstruct facescontext flash-scope
How do i check for a 302 response? WebRequest

Using WebRequest I want to know if I get a "302 Moved Temporarily" response instead of automatically get the new url.

.net httpresponse http-status-code-302
ASP.NET WebAPI: How to control string content returned to client?

In WebAPI, say I return a string wrapped in an HTTP response: return Request.CreateResponse(HttpStatusCode.BadRequest, "Line1 \r\n …

asp.net-web-api string-formatting httpresponse
Rest easy response status + body

I have following method in my rest service: @POST @Path("/create") @ResponseStatus(HttpStatus.CREATED) @Consumes(MediaType.WILDCARD) public String create( .... ) {.... …

httpresponse resteasy
Java HttpURLConnection.getInputStream but get 401 IOException

I am writing a REST client for CouchDB in Java. The following code should be quite standard: this.httpCnt.connect(); …

java httpresponse httpurlconnection http-status-code-401
Download file prompt when using WebAPI HttpResponseMessage

I have a method in my API that returns a HttpResponseMessage: [HttpGet, HoodPeekAuthFilter] public HttpResponseMessage GlobalOverview() { try { StatsRepo _statsRepo = new …

c# asp.net-mvc asp.net-web-api httpresponse fileresult
How to programmatically set Response.StatusCode different than 200 OK in ASP.NET Application and still serve content to client successfully?

Setting Response.StatusCode = 404 doesn't serve content under neither IE8 nor Chrome? It works in Mozilla though I find it strange! …

asp.net httpresponse http-status-codes
HTTPService AsyncToken and AsyncResponder example

Where can I find an example of Flex application which implements an HTTPService asynchronously called by an AsyncToken and an …

apache-flex asynchronous httpresponse httpservice asynctoken
Specify supported media types when sending "415 unsupported media type"

If a clients sends data in an unsupported media type to a HTTP server, the server answers with status "415 unsupported …

http rest http-status-codes httpresponse content-negotiation
How can I get the response code from a VolleyError?

I'm looking for a way to get the response code of a thrown VolleyError. My ErrorListener looks like this: Response.…

java android networking httpresponse android-volley