Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

your py file, and a pdf ( printed - to - pdf from a google doc or word doc or whatever ) containing the series

your py file, and
a pdf (printed-to-pdf from a google doc or word doc or whatever) containing the series of screenshots described below, labeling each screenshot with its number in text (e.g."1:") before/above the pasted image)
Visual format for every screenshot: show the terminal window (that your web server program is running in) and a browser window (with the full address bar content visible), positioned side by side.
In the term window, run your program in a directory:
a) containing multiple files and multiple subdirectories,
b) where at least one of those subdirectories contains multiple files and at least one subdirectory of its own, and
c) where that ?2 subdirectory contains multiple files. (So, for example, in the case of those dir/file names, when clicking through to fileC.txt in the browser, the address bar at that point would read: localhost:9999/dirA/subdirB/fileC.txt and the browser would display fileC.txt's contents.)
Also: the "base" directory, a "subdir* of it, and a "subdir of that subdir* should contain at least one file of each of these types: .html,.txt, image.
(That's 3 different locations each containing (at least)3 different types of files, meaning (at least)9 files.)
(And those 9 files should all be different: different content, and different filenames, not copies of one another.)
Finally, in the base directory, also put: an mp3, the file you saved
lehman.edu as (using the browser's "save as complete webpage" option), and (of course) your program's .py file.
(Replace 9999 in the following with the port number you used if it differs.)
(In each of the following, "Open to ...x and click on a Y'' should be understood to mean: on the subdir/file listing page that the browser displays for x, click on , "within that x listing page*, to *a thing of type Y**.)
Screenshots to take, after performing each of these actions in the browser:
Open to localhost:9999(and scroll if necessary so that both dirs and files are visible)
Open to localhost:9999 and then *view source ?**
Open to localhost:9999 and click on an h tml file
Open to localhost:9999 and click on a txt file
Open to localhost:9999 and click on *your program's py file
Open to localhost: 9999 and click on an image file
Open to localhost:9999 and click on an mp3
Open to localhost:9999 and click on the file you saved
lehman.edu as
Open to localhost:9999/doesnotexist (where no file or dir called doesnotexist exists, thus eliciting an error page response from your program)
Open to localhost:9999/../(recalling that your program should guard against requests involving ...)
Open to localhost: 9999 and click on a directory
Open to localhost: 9999, click on a directory, and then click on some txt file (in that directory)
Open to localhost:9999, click on some directory, and click on some directory in localhost:9999/onedir/anotherdir/somefile.txt)
"Replacing "dirA" if necessary with the name of an actual directory within your base directory": open to: localhost:9999/dirA/..../(recalling again the ".." no-no)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

What role do hormone levels play in mood?

Answered: 1 week ago

Question

=+ Is the information up to date?

Answered: 1 week ago