Skip to content

Commit

Permalink
Version bump 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nategood committed Jun 20, 2012
1 parent dfbecc4 commit e6ba832
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,25 @@ Httpful highly encourages sending in pull requests. When submitting a pull requ

# Changelog

## 0.1.5

- Use `DIRECTORY_SEPARATOR` constant [PR #33]((https://github.com/nategood/httpful/pull/32))
- Added the raw_headers property reference to response
- Compose request header and added raw_header to Request object.
- Fixed response has errors and added more comments for clarity.
- Fixed header parsing to allow the minimum (status line only) and also cater for the actual CRLF ended headers as per RFC2616.
- Added the perfect test Accept: header for all Acceptable scenarios see @b78e9e82cd9614fbe137c01bde9439c4e16ca323 for details.
- Added default User-Agent header.
- `User-Agent: HttpFul/1.0` you might want to tweak the name and version number.
- `(cURL/?.?.? (host) if all else fails but it should be able to find the curl version from uhm curl_version() I guess.
- Then we get PHP/5.3.8 for example which should get populated from the core provided PHP_VERSION constant.
- Then we check if we have `$_SERVER['SERVER_SOFTWARE']` and remove PHP from there should it exist.
- If SERVER_SOFTWARE is unavailable we are more than likely using CLI so check for `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` from $_SERVER.
- Finally add the HTTP_USER_AGENT string if it exists and close the support software section with ')' to wrap this up as the perfect User-Agent string to verify any issues we might have.
- To bypass this "default" operation simply add a User-Agent to the request headers even a blank User-Agent is sufficient and more than simple enough to produce me thinks.
- Completed test units for all the additions and a few extra ones see @a23e8c301dbe501ccb934c0ff7e690a334bd81b4 and @1741fd8427f8015c391023fcca844fa0641cc6b7 for details.
- Added phpunit coverage reporting and helped phpunit auto locate the tests a bit easier.

## 0.1.4

- Add support for CSV Handling [PR #32](https://github.com/nategood/httpful/pull/32)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"homepage": "http://github.com/nategood/httpful",
"license": "MIT",
"keywords": ["http", "curl", "rest", "restful", "api", "requests"],
"version": "0.1.4",
"version": "0.1.5",
"authors": [
{
"name": "Nate Good",
Expand Down

0 comments on commit e6ba832

Please sign in to comment.