Opened 5 years ago

Closed 5 years ago

#1 closed defect (fixed)

Moved temporarily 302 webresults not handled properly

Reported by: psaiteja Owned by: somebody
Priority: minor Milestone:
Component: component1 Version:
Keywords: 302 moved temporarily Cc:

Description

For some websites, when 302 response was received with a new location url, the browser was not being redirected to the new url. The browser was actually showing the html response(with the html tags) in the browser. This happens with the "studentuniverse.com" website.

Change History (1)

comment:1 Changed 5 years ago by psaiteja

  • Resolution set to fixed
  • Status changed from new to closed

The proxy server was receiving some blank lines before the response's header information for some web sites (like studentuniverse.com - when there was a 302 redirect page- not all 302s on the site have that error). Not sure about the reason behind those blank lines, but added the code to skip blank but not null lines before the starting of the header corrected the issue.

Note: See TracTickets for help on using tickets.