Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
youngj
/
httpserver
Public
Notifications
You must be signed in to change notification settings
Fork
18
Star
61
Code
Issues
3
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit history
Commits on Feb 23, 2014
Merge branch 'master' of github.com:youngj/httpserver
youngj
committed
aabdd56
View commit details
Copy full SHA for aabdd56
Browse repository at this point
avoid PHP warning if less than 4 bytes read from http request
youngj
committed
510ab82
View commit details
Copy full SHA for 510ab82
Browse repository at this point
Commits on Nov 19, 2013
Merge pull request #10 from ahamid/php-5.3-compat
Show description for 574893f
youngj
committed
574893f
View commit details
Copy full SHA for 574893f
Browse repository at this point
revert short array syntax for 5.3 compatibility
ahamid
committed
d68b5e9
View commit details
Copy full SHA for d68b5e9
Browse repository at this point
Commits on Feb 23, 2013
allow sending the same HTTP header name multiple times in the same response (needed to set more than one cookie with Set-Cookie header)
youngj
committed
0aa0e41
View commit details
Copy full SHA for 0aa0e41
Browse repository at this point
Commits on Dec 10, 2012
support range requests for static files
youngj
committed
802dbb9
View commit details
Copy full SHA for 802dbb9
Browse repository at this point
Merge branch 'master' of git://github.com/youngj/httpserver into HEAD
youngj
committed
9a58fa2
View commit details
Copy full SHA for 9a58fa2
Browse repository at this point
Commits on Jul 19, 2012
Merge pull request #4 from RobLoach/master
Show description for d39c919
youngj
committed
d39c919
View commit details
Copy full SHA for d39c919
Browse repository at this point
Commits on Apr 18, 2012
Composer support for HTTPServer.
RobLoach
committed
0be384a
View commit details
Copy full SHA for 0be384a
Browse repository at this point
Commits on Mar 16, 2012
add ssl certificate files to recognized mime types
youngj
committed
e2444d5
View commit details
Copy full SHA for e2444d5
Browse repository at this point
Commits on Jan 11, 2012
avoid php debug warning
Jesse Young
committed
32cf2f3
View commit details
Copy full SHA for 32cf2f3
Browse repository at this point
Commits on Sep 17, 2011
Merge branch 'master' of github.com:youngj/httpserver
Jesse Young
committed
41dd2b7
View commit details
Copy full SHA for 41dd2b7
Browse repository at this point
support transfer-encoding: chunked in http requests (java HttpClient does this for posting multipart forms)
Jesse Young
committed
af07a68
View commit details
Copy full SHA for af07a68
Browse repository at this point
Commits on Jul 13, 2011
fix undefined $addr_port; only call request_done when finished writing the response
Jesse Young
committed
95a38ab
View commit details
Copy full SHA for 95a38ab
Browse repository at this point
making the patch to encapsulate the server generally usable
quartzjer
committed
7ab76b3
View commit details
Copy full SHA for 7ab76b3
Browse repository at this point
tiny fixes to make more usable when wrapped for locker project
quartzjer
committed
eaf859e
View commit details
Copy full SHA for eaf859e
Browse repository at this point
Commits on Jul 11, 2011
style edits, and add example page to test rfc2324 2.3.2
Jesse Young
committed
4b8ea47
View commit details
Copy full SHA for 4b8ea47
Browse repository at this point
Commits on Jul 10, 2011
According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1 localized HTTP status code messages are acceptable, and Apache passes them though. This adds code to parse out the message …
Show description for 1aafcf3
grugnog
committed
1aafcf3
View commit details
Copy full SHA for 1aafcf3
Browse repository at this point
Commits on Jun 24, 2011
fix bug where CGI responses always showed up in logs as HTTP status 200; refactor CGIWrapper interface to be more symmetric; change HTTPRequest::$content to HTTPRequest::$content_stream since we on…
Show description for 354b914
Jesse Young
committed
354b914
View commit details
Copy full SHA for 354b914
Browse repository at this point
fix incorrect comment
Jesse Young
committed
1aa455f
View commit details
Copy full SHA for 1aa455f
Browse repository at this point
no longer requires php sockets extension
Jesse Young
committed
9fa27f5
View commit details
Copy full SHA for 9fa27f5
Browse repository at this point
downloads are empirically much faster with fread of size ~30000 vs fread of size 8192
Jesse Young
committed
02ff990
View commit details
Copy full SHA for 02ff990
Browse repository at this point
prevent output buffer from growing arbitrarily large (e.g. if the server reads static files from disk faster than it can send them out over the network)
Jesse Young
committed
9542fb8
View commit details
Copy full SHA for 9542fb8
Browse repository at this point
fix handling of invalid cgi output and set content-type of server plain-text error messages
Jesse Young
committed
e1f97fa
View commit details
Copy full SHA for e1f97fa
Browse repository at this point
use data://text/plain for CGI stdin stream instead of tmpfile(), close stream when CGI process is complete
Jesse Young
committed
a8949d4
View commit details
Copy full SHA for a8949d4
Browse repository at this point
allow HTTPResponse objects to specify content as a stream, instead of loading the entire response into memory as a string. allows multiple connections to process responses concurrently (although wi…
Show description for fe39245
Jesse Young
committed
fe39245
View commit details
Copy full SHA for fe39245
Browse repository at this point
Commits on Jun 20, 2011
add required SERVER_PORT variable to CGI environment; update value for SCRIPT_NAME to be in better compliance with CGI specification; add phpinfo() page on example site
Jesse Young
committed
beaf96c
View commit details
Copy full SHA for beaf96c
Browse repository at this point
update some comments; add license information and link to github repository in each php file
Jesse Young
committed
d8cfb71
View commit details
Copy full SHA for d8cfb71
Browse repository at this point
make HTTPServer constructor options optional
Jesse Young
committed
6119ad4
View commit details
Copy full SHA for 6119ad4
Browse repository at this point
Commits on Jun 19, 2011
process HTTP request headers case insensitively (some swfupload uploads weren't working because 'content-type' header was in lowercase)
Jesse Young
committed
fc59bbe
View commit details
Copy full SHA for fc59bbe
Browse repository at this point
regenerate http status codes from w3c docs to remove questionable licensing dependence on kohana
Jesse Young
committed
f3099cc
View commit details
Copy full SHA for f3099cc
Browse repository at this point
use common logfile format and allow subclasses to change log format
Jesse Young
committed
25218b7
View commit details
Copy full SHA for 25218b7
Browse repository at this point
Initial commit of httpserver into a separate repository, from
[email protected]
:youngj/Envaya.git @ 8eb3ba6d
Jesse Young
committed
e98bd5a
View commit details
Copy full SHA for e98bd5a
Browse repository at this point
You can’t perform that action at this time.