Closed Bug 215672 Opened 22 years ago Closed 22 years ago

"The document contains no data" error w/ URL without a trailing slash

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 212208

People

(Reporter: boutilpj, Assigned: darin.moz)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030809 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030809 "The document contains no data" error message occurs when going to http://www.atyp.com/tmphoto . However going to http://www.atyp.com/tmphoto/ (trailing slash) wiorks fine. wget shows that without the trailing slash the web server sends a 301 Moved Permanently. This problem does not occcur in Mozilla 1.2.1, 1.4, or 1.5a [root@localhost TEST]# wget http://www.atyp.com/tmphoto --22:14:37-- http://www.atyp.com/tmphoto => `tmphoto' Resolving www.atyp.com... done. Connecting to www.atyp.com[205.151.106.81]:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.atyp.com/tmphoto/ [following] --22:14:37-- http://www.atyp.com/tmphoto/ => `index.html' Connecting to www.atyp.com[205.151.106.81]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,187 [text/html] 100%[================================================================================>] 4,187 73.02K/s ETA 00:00 22:14:38 (73.02 KB/s) - `index.html' saved [4187/4187] Reproducible: Always Steps to Reproduce: 1. Go to http://www.atyp.com/tmphoto 2. 3. Actual Results: "The document contains no data" error message Expected Results: Redirected to http://www.atyp.com/tmphoto/
dupe of 'document contains no data" error when handling HTTP/1.1 301 responses generated by WebSTAR (Mac OS9 Web server)' lynx says the server is "WebSTAR/4.4(SSL) ID/526375" *** This bug has been marked as a duplicate of 212208 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
V/dupe
Status: RESOLVED → VERIFIED
Summary: "The document contains no data" error message when accessing certain URL without a trailing slash → "The document contains no data" error w/ URL without a trailing slash
QA Contact: core.networking.http → benc
You need to log in before you can comment on or make changes to this bug.