Commit Graph

6 Commits

Author SHA1 Message Date
Stephen Heumann
6f5f57c422 Support spaces in URLs.
This applies to both directly entered URLs and redirects. At least some servers (e.g. bit.ly) will send un-percent-encoded URLs that may contain spaces in the Location header.

Spaces are now percent-encoded in the HTTP request. Other characters that should be percent-encoded still aren't, but I think many servers can accept them as-is.
2018-10-03 17:40:08 -05:00
Stephen Heumann
610a638e5c Switch to unified set of error codes. Also, do more checks for 2IMG files. 2018-08-11 01:53:53 -05:00
Stephen Heumann
cb236fbeb3 Set up framework of the NetDisk init. 2018-08-05 18:04:34 -05:00
Stephen Heumann
a66b69154e Lint fixes. 2018-08-01 18:24:43 -05:00
Stephen Heumann
133c7f17b1 Add code to parse status line and headers of an HTTP response to our request. 2018-08-01 00:05:19 -05:00
Stephen Heumann
28a0b1be19 Add and use code to parse URLs specifying the resource. 2018-07-30 21:35:45 -05:00