.. (לתיקייה המכילה) | ||
When should we return 500 status code? | |
In any internal server error - instead of your server crashing you should return a 500 status code if you can (if the socket crashed you can't do anything). |
What the parameter for listen(?) should be? | |
Doesn't matter, anyway your server can handle only 1 client at a time. We won't check it. |
I'm having trouble with Hebrew names, what should I do? | |
You can assume all the files\directories names are in English |
The Favicon.ico request crashes my server, how should I handle it? | |
You can ignore Chrome's defulat favicon request (just don't return anything for that request) |
What is the maximum size of a request? | |
You can assume the maximum size is 4096 |
Could there be nested folders under the directory 'pdfs' that consist of pdf files? Should we include them? | |
Yes and yes |
When displaying the pdf files' names, should we use the name itself or an absolute path? | |
You should use a relative path to the directory 'pdfs'. |