Top "Http-redirect" questions

When a URL is updated the server sends a HTTP redirect message with the updated URL.

Setting up redirect in web.config file

I'm trying to redirect some unfriendly urls with more descriptive ones. These urls end in .aspx?cid=3916 with the last …

asp.net web-config http-redirect
How do you follow an HTTP Redirect in Node.js?

I want to open a page up in node and process the contents in my application. Something like this seems …

node.js http-redirect
HTTPURLConnection Doesn't Follow Redirect from HTTP to HTTPS

I can't understand why Java's HttpURLConnection does not follow an HTTP redirect from an HTTP to an HTTPS URL. I …

java redirect https httpurlconnection http-redirect
Spring MVC @RestController and redirect

I have a REST endpoint implemented with Spring MVC @RestController. Sometime, depends on input parameters in my controller I need …

spring rest spring-mvc redirect http-redirect
nginx redirect HTTPS to HTTP

How can i redireect from https to http? i have the code below but it does not seem to work. …

nginx https http-redirect
How to pass data in HTTP Header while redirecting a request in Java

is it possible to pass some data in HTTP Header, while redirecting a request from one server to another. Here …

java http-headers servlet-filters http-redirect
ASP.NET MVC - How to Preserve ModelState Errors Across RedirectToAction?

I have the following two action methods (simplified for question): [HttpGet] public ActionResult Create(string uniqueUri) { // get some stuff based …

asp.net-mvc error-handling modelstate redirecttoaction http-redirect
URL Fragment and 302 redirects

It's well known that the URL fragment (the part after the #) is not sent to the server. I do wonder …

redirect fragment-identifier http-redirect
ASP.NET httpRedirect : redirect all pages except one

I use this code in the web.config in one of the folders of my website to redirect all pages …

asp.net web-config http-redirect
Is it possible to send a 401 Unauthorized AND redirect (with a Location)?

I'd like to send a 401 Unauthorized AND redirect the client somewhere. However: if I do it like this: header('HTTP/1.1 401 …

http-headers http-status-code-401 http-redirect