winmillwill / badfaith Goto Github PK
View Code? Open in Web Editor NEWphp content (emphasis) negotiation. WORK IN PROGRESS
License: MIT License
php content (emphasis) negotiation. WORK IN PROGRESS
License: MIT License
could you add an example into the README illustrating how you envision the API for going an actual negotiation?
Most browser vendors are not sending this header anymore which is causing issues.
see https://developer.mozilla.org/en/HTTP/Content_negotiation#The_Accept-Charset:_header
browsers started to stop sending this header in each request, starting with Internet Explorer 8, Safari 5, Opera 11 and Firefox 10. In the absence of Accept-Charset:, servers can simply assume that UTF-8 and the most common characters sets are understood by the client.
The files should be moved to lib/BadFaith
so that they follow the PSR-0 standard. Btw, this will fix your composer.json as it already advocates following psr-0
On a side note, the composer.json misses a bunch of section for shared packages (keywords, description, authors, ...). You could use the composer.phar validate
command to see it.
Or can someone get access to work on this project? Thanks :)
Not sure if this lib is trying to reach compliance with mod_negotation
available for apache, but if it does it's probably interesting to port the tests for the apache module? (If that didn't happen already.)
http://svn.apache.org/repos/asf/httpd/test/framework/trunk/t/modules/negotiation.t
sorry .. i should have pointed this out earlier ..
i would recommend if you would use for example the Symfony coding style:
http://symfony.com/doc/current/contributing/code/standards.html
not sure on the particulars of the Drupal OO CS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.