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.

Which HTTP errors should never trigger an automatic retry?

I'm trying to make a few microservices more resilient and retrying certain types of HTTP requests would help with that. …

http microservices httpresponse hystrix spring-retry
How to get a custom error message from Web Api to jQuery.ajax?

This code uses the Microsoft Web Api Http stack and jQuery. How do I get a custom error message, created …

c# jquery asp.net-web-api httpresponse jqxhr
When should I really set "Access-Control-Allow-Credentials" to "true" in my response headers?

MDN says, when the credentials like cookies, authorisation header or TLS client certificates has to be exchanged between sites Access-Control-Allow-Crendentials …

http cors httpresponse same-origin-policy fetch-api
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
What HTTP status code for unactivated account?

Which HTTP status code should I respond with after authenticating the user and then finding out that they have not …

http httpresponse http-status-codes
Add Response Header to JAX-RS Webservice

I am trying add some response headers to some of my webservice calls. I wrote my webservice using CXF 2.1.2 and …

java web-services cxf httpresponse jax-rs
sending content-encoding header in django

Hello I want to have a plaintext version of my content available. So I have a separate template for that. …

django httpresponse content-encoding render-to-response
get HttpServletResponse from liferay portal

I am trying to get the HttpServletResponse from liferay portal. I am also working with icefaces. PortletResponse response1 = (PortletResponse)FacesContext.…

jsf liferay icefaces httpresponse
Some questions about writing on ASP.NET response stream

I'm making tests with ASP.NET HttpHandler for download a file writting directly on the response stream, and I'm not …

c# .net asp.net stream httpresponse