p3-t1-c3-http-alu0101044200

Table of Contents

listen

This fuction creates a server which listens at port 8000.

GET

This method returns the content file or directory if it exists.

Parameters

Returns any shows content.

DELETE

This method delets a directory if it exists.

Parameters

Returns rmdir removed path directory.

PUT

This method adds a directory or file what path indicates.

Parameters

Returns request can add content to fille with pipe() or simply creates file.

MKCOL

This method delets a directory if it exists.

Parameters

Returns mkdir added path directory.