Skip to content

austinphp/zendcon2011

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

What do I win?

  • 1 Tutorials + Conference ticket to Zendcon 2011 (http://www.zendcon.com) (No travel or accommodations included)

General Rules

  • Don’t plagiarize code
  • If you want to participate but don’t actually think you could to go Zendcon, please note that in your submission’s readme
  • Judging will be done as impartially as possible, by myself
  • Submissions are due by 9/4/2011

Objective

  • Write a 2 classes that model HTTP requests
    • Request class
      • Class should be able to send well formed HTTP requests to an arbitrary HTTP server of my choosing
      • Class should at least support POST and GET
      • Class should be able to send arbitrary HTTP headers
      • Class should not use CURL or pecl_http functions
    • Response class
      • Class should be able to parse a plaintext HTTP response and store the relevant data within an instance
      • Class should know if the response returned is a redirect
      • Class should be able to list all returned HTTP response headers
      • Class should store it’s HTTP status code as a distinct piece of data

Bonus Points

  • The more PHP 5.3 features you use, the better
  • The more HTTP verbs you support, the better
  • Support SSL (HTTPS) requests
  • Support requests on on arbitrary ports

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published