#12844: Web+ cannot load http://fatelk.com/repo
----------------------------------------+----------------------------
Reporter: bbjimmy | Owner: pulkomandy
Type: bug | Status: in-progress
Priority: normal | Milestone: Unscheduled
Component: Applications/WebPositive | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------------+----------------------------
Comment (by pulkomandy):
It works fine here with hrev50635.
I get a strange 302 redirect from the server:
{{{
HTTP: Resolving http://fatelk.com/repo
HTTP: Status line received: Code 302 (Found)
<-- HTTP: Location: /repo
unexpected character '/' terminating the protocol
failure to explode url
}}}
I think there are two problems with this:
1) 302 redirects should have an absolute URL (http://something), not just
a path
2) I the page trying to redirect to itself?
Then WebPositive makes a second request. The only difference is an extra
HTTP header:
{{{
--> HTTP: Referer: http://fatelk.com/repo
}}}
And in this second time I get a 200 OK response, and it seems the page
content redirects me to http://coquillemartialarts.com/fatelk/repo. BUT,
this is not the end of the story, as that page is a 301 redirect to:
{{{
<-- HTTP: Location: http://coquillemartialarts.com/fatelk/repo/
}}}
It redirects to a page with the same name but an extra / at the end.There
is finally the actual page with the contents.
This went smoothly for me with both Web+ and a test build of the next
release. Do you still have this problem in current nightlies?
--
Ticket URL: <https://dev.haiku-os.org/ticket/12844#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.