LDView Crash on Library Update


RE: LDView Crash on Library Update
#4
(2020-09-04, 21:11)Orion Pobursky Wrote: Hmm. The site is supposed to exclude LDView from https but there might be something wired going on there. I'll have a look.


I just tested in a debugger, and the response to my request is a permanent redirect to https. My initial request goes to here:

Code:
http://www.ldraw.org/cgi-bin/ptreleases.cgi?output=TAB&fields=type-format-date-url-size


The User-Agent for my test (running on a Mac) is:

Code:
LDView/4.4 Beta 1 (Mac OSX; [email protected]; https://github.com/tcobbs/ldview)


The response to my http request is this:

Code:
HTTP/1.1 301 Moved Permanently\r\nDate: Sun, 06 Sep 2020 19:20:31 GMT\r\nServer: Apache\r\nLocation: https://www.ldraw.org/cgi-bin/ptreleases.cgi?output=TAB&fields=type-format-date-url-size\r\nCache-Control: max-age=600\r\nExpires: Sun, 06 Sep 2020 19:30:31 GMT\r\nContent-Length: 300\r\nConnection: close\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>301 Moved Permanently</title>\n</head><body>\n<h1>Moved Permanently</h1>\n<p>The document has moved <a href=\"https://www.ldraw.org/cgi-bin/ptreleases.cgi?output=TAB&amp;fields=type-format-date-url-size\">here</a>.</p>\n</body></html>\n@~\x03

So it looks like you're no longer allowing requests from the LDView user-agent to download via http. Please note that LDView does support redirection (up to 3 levels deep, I think), but since the redirect goes to https, it fails.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDView Crash on Library Update - by Travis Cobbs - 2020-09-06, 19:28

Forum Jump:


Users browsing this thread: 2 Guest(s)