Skip to content

Updated resolve_uri() and response_not_found()#116

Closed
maxmac12 wants to merge 3 commits intoUWPCE-PythonCert:masterfrom
maxmac12:master
Closed

Updated resolve_uri() and response_not_found()#116
maxmac12 wants to merge 3 commits intoUWPCE-PythonCert:masterfrom
maxmac12:master

Conversation

@maxmac12
Copy link

Initial check in of session #2 homework. For the most part it seems like resolve_uri() is working correctly except for when a directory is specified as the URI. When a directory is requested the function seems to correctly reply with a plain text list of all of the files within that directory. However, this list specifies absolute file paths instead of relative paths.

One big issue that I have been fighting are connection refusal errors which has been a roadblock for further development. Still trying to figure out why my connections are being refused when they seemed to be working fine at the end of the previous class.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this we have the implicit assumption that URI will always be an absolute path. What if it is not?

@cewing
Copy link

cewing commented Jan 19, 2016

good work. I'll close this as reviewed. Feel free to leave questions here if you have any.

@cewing cewing closed this Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants