Skip to content

a-baade/pgr203-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forelesning 4: Http Server

HTTP request ser ut

GitHub

  • Maven
  • Github Actions
  • Working branch
  • Pull request
  • Test report

Socket, HTTP

  • Socket connects server
  • Status code
  • Header fields
  • Content-length
  • Message body

HttpServer

  • HttpServer should respond with 404
  • HttpServer should include request target in 404
  • Return a static content for /hello
  • Return HTML file from disk
  • Content-type
  • Return
  • Process GET request from form

Lecture 6:

  • Styling
  • Handle more than one request
    • Feilhåndtering
  • GET request with more than one field
  • Refactor -> HttpMessage class
  • Process POST request from form
    • URL encoding
  • Make executable JAR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published