0

Hi all,

I’m new to the HTML/HTTP world …
My server side send HTTP request with HTML body.
(I’m not using a well known web server, this is self implementation)
When I’m trying to use a browser to fetch the page,
I type the URL: http://<APP_IP>:2024/xxx.html
I can see the page in the browser, BUT the browser is keeping on searching…
This is the dummy HTML I’m trying to send. ANY Idea????

HTTP/1.1 200 OK
Server: XXXXX
Accept-Ranges: bytes
Content-length: 328
Keep-Alive: timeout=40, max=100
Connection: Keep-Alive
Content-type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test Tamar</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<div style="font:normal 11px arial,sans-serif;text-align:center; margin:1em auto;">XXXXX Test </div>
</body>
</html>

2
Contributors
1
Reply
2
Views
10 Years
Discussion Span
Last Post by MattEvans
0

try:

HTTP/1.1 200 OK
Server: XXXXX
Accept-Ranges: bytes
Content-length: 328
Connection: close
Content-type: text/html; charset=UTF-8
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.