Questions tagged [respond-to-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How does the server know if the client has received the data completely?

As i've understood, the client first enters a domain name and the DNS returns it an IP address where the client sends his request and gets a response from the server. Now while sending it back, the ...
3
votes
1answer
158 views

Do we want to respond to client with file including headers?

I have a couple questions about what is expected when it comes to the respond to client part of the code. My confusion arises when it comes to the part where we have to write out the bytes of the file....
1
vote
1answer
352 views

pset6 Web server responses

in pset6 what should be the response if we make request from telnet program as GET / hello.html HTTP/1.1? The staff solution report the error as "HTTP/1.1 505 HTTP Version Not Supported" even though ...
1
vote
1answer
248 views

why does my server only work when requesting php files from Chrome?

The request headers and response headers in the command line and in Chrome are all fine, but cat.jpg, cat.html, and hello.html do not display anything in Chrome. In the command line, cat.html and ...